Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 172.9 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.538/2.538, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004669, allocations: 12 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6277/0.6282, allocations: 153.8 MB / 1.024 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0007466/0.629, allocations: 369.3 kB / 1.024 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.6309, allocations: 1.458 MB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.99e-05/0.631, allocations: 0 / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.631, allocations: 0 / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.149e-05/0.6311, allocations: 7.875 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.6315, allocations: 95.69 kB / 1.026 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.143e-05/0.6315, allocations: 19.98 kB / 1.026 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.6316, allocations: 7.984 kB / 1.026 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.792e-05/0.6316, allocations: 15.94 kB / 1.026 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.292e-05/0.6317, allocations: 23.84 kB / 1.026 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.6317, allocations: 4 kB / 1.026 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004509/0.6322, allocations: 307.4 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.6322, allocations: 11.92 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.6322, allocations: 41.64 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.6325, allocations: 133.8 kB / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6325, allocations: 0 / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6325, allocations: 0 / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.6325, allocations: 0 / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005051/0.633, allocations: 375.3 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.633, allocations: 12.03 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003891/0.6334, allocations: 72.86 kB / 1.027 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.6336, allocations: 180.2 kB / 1.027 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.6336, allocations: 4.375 kB / 1.027 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.6337, allocations: 384 / 1.027 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.6339, allocations: 85.95 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.634, allocations: 4 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.634, allocations: 0 / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.634, allocations: 0 / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003702/0.6344, allocations: 79.92 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.6346, allocations: 169.7 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005641/0.6351, allocations: 146.4 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.6353, allocations: 48.94 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.6354, allocations: 4 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.6354, allocations: 38.5 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.6354, allocations: 4 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.004407/0.6398, allocations: 0.95 MB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.6399, allocations: 55.41 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.835e-05/0.64, allocations: 113.8 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.64, allocations: 29.7 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.6401, allocations: 80.23 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.6401, allocations: 31.5 kB / 1.029 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.6401, allocations: 21.7 kB / 1.029 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.6403, allocations: 314.8 kB / 1.029 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/0.6407, allocations: 119.9 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/0.6412, allocations: 119.9 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008957/0.6421, allocations: 240.6 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.6421, allocations: 0 / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009868/0.6431, allocations: 285.6 kB / 1.03 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.6431, allocations: 4 kB / 1.03 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.6431, allocations: 4 kB / 1.03 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.6432, allocations: 0 / 1.03 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.6435, allocations: 67.94 kB / 1.03 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.6435, allocations: 7.938 kB / 1.03 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.6438, allocations: 47.95 kB / 1.03 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.6438, allocations: 7.984 kB / 1.03 GB, free: 9.598 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.604e-05/0.6439, allocations: 114.3 kB / 1.03 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.6439, allocations: 7.906 kB / 1.03 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.644, allocations: 12.38 kB / 1.03 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.644, allocations: 0 / 1.03 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.644, allocations: 0 / 1.03 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.644, allocations: 7.984 kB / 1.03 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.6458, allocations: 0.6563 MB / 1.03 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.6458, allocations: 0 / 1.03 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.6461, allocations: 64 kB / 1.031 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.6461, allocations: 3.938 kB / 1.031 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.6462, allocations: 7.984 kB / 1.031 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.6462, allocations: 0 / 1.031 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6462, allocations: 0 / 1.031 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.6472, allocations: 388.8 kB / 1.031 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.6473, allocations: 89 kB / 1.031 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.6473, allocations: 4 kB / 1.031 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.6476, allocations: 47.95 kB / 1.031 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.6476, allocations: 19.86 kB / 1.031 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.6476, allocations: 7.984 kB / 1.031 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.112e-05/0.6477, allocations: 91.66 kB / 1.031 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6477, allocations: 0 / 1.031 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003061/0.648, allocations: 43.94 kB / 1.031 GB, free: 7.938 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002149/0.6482, allocations: 123.2 kB / 1.031 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009856/0.6492, allocations: 255.7 kB / 1.032 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6492, allocations: 0 / 1.032 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004679/0.6497, allocations: 128 kB / 1.032 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.65, allocations: 15.92 kB / 1.032 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.6517, allocations: 0.4905 MB / 1.032 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.6519, allocations: 0.6848 MB / 1.033 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.103e-05/0.652, allocations: 27.41 kB / 1.033 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.652, allocations: 0 / 1.033 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of Templates: time 0.003248/0.6553, allocations: 1.43 MB / 1.034 GB, free: 4.727 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches