Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009605/0.0009605, allocations: 83.59 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 169 kB / 23.82 MB, free: 0.7461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9542/0.9542, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.842/1.842, allocations: 377.8 MB / 0.6236 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.732e-05, allocations: 6.875 kB / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001027/0.001044, allocations: 0.618 MB / 0.8122 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.00244, allocations: 1.479 MB / 0.8137 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.002461, allocations: 1.688 kB / 0.8137 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.00248, allocations: 0 / 0.8137 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 2.745e-05/0.002508, allocations: 0 / 0.8137 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.00292, allocations: 142 kB / 0.8138 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.871e-05/0.002979, allocations: 27.97 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.579e-05/0.003015, allocations: 9.594 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.35e-05/0.003068, allocations: 19.97 kB / 0.8139 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.401e-05/0.003142, allocations: 27.89 kB / 0.8139 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.00316, allocations: 0 / 0.8139 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.003464, allocations: 242.1 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.003481, allocations: 7.984 kB / 0.8141 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.003508, allocations: 15.92 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.003777, allocations: 207.4 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.00378, allocations: 0 / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.81e-07/0.00378, allocations: 0 / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.003785, allocations: 0 / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004248/0.00421, allocations: 388.5 kB / 0.8147 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.004249, allocations: 12.75 kB / 0.8147 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.004505, allocations: 51.95 kB / 0.8148 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.2e-05/0.004587, allocations: 116.6 kB / 0.8149 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.0046, allocations: 1.156 kB / 0.8149 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.00462, allocations: 4.375 kB / 0.8149 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.004786, allocations: 107.1 kB / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.004794, allocations: 192 / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.004805, allocations: 384 / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.004815, allocations: 7.938 kB / 0.815 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.65e-05/0.004861, allocations: 13.73 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.004991, allocations: 120.7 kB / 0.8151 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.005192, allocations: 59.11 kB / 0.8152 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.005227, allocations: 20.27 kB / 0.8152 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.005394, allocations: 50.7 kB / 0.8152 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.005419, allocations: 43.61 kB / 0.8153 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.00542, allocations: 0 / 0.8153 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0004309/0.00585, allocations: 214 kB / 0.8155 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.005878, allocations: 55.34 kB / 0.8155 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.23e-05/0.00594, allocations: 164.6 kB / 0.8157 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.005953, allocations: 29.64 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.005981, allocations: 126.9 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.006008, allocations: 23.8 kB / 0.8159 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.006043, allocations: 27.36 kB / 0.8159 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.006143, allocations: 496.1 kB / 0.8164 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.78e-05/0.006171, allocations: 9.531 kB / 0.8164 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.587e-05/0.006197, allocations: 15.98 kB / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.393e-05/0.006251, allocations: 27.69 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.006252, allocations: 0 / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.924e-05/0.006341, allocations: 66.38 kB / 0.8165 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.006351, allocations: 5.469 kB / 0.8165 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.006355, allocations: 0 / 0.8165 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.006368, allocations: 7.984 kB / 0.8165 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.376e-05/0.006442, allocations: 28.56 kB / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.006446, allocations: 0 / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.006477, allocations: 7.688 kB / 0.8165 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.006484, allocations: 4 kB / 0.8165 GB, free: 12.44 MB / 0.7761 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 (6): * Single equations (assignments): 6 * 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 5.935e-05/0.006543, allocations: 160.6 kB / 0.8167 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.006554, allocations: 4 kB / 0.8167 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.006689, allocations: 87.03 kB / 0.8168 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.00669, allocations: 0.9688 kB / 0.8168 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.006695, allocations: 7.938 kB / 0.8168 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.006698, allocations: 1.094 kB / 0.8168 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.385e-05/0.006771, allocations: 124.6 kB / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006772, allocations: 0 / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.006833, allocations: 17.11 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.006835, allocations: 0 / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.006844, allocations: 5.094 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.006845, allocations: 0 / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006846, allocations: 0 / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.006998, allocations: 125 kB / 0.817 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.959e-05/0.007027, allocations: 11.98 kB / 0.8171 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.007039, allocations: 0.625 kB / 0.8171 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.101e-05/0.00708, allocations: 9.016 kB / 0.8171 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.007105, allocations: 15.86 kB / 0.8171 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.007111, allocations: 5.875 kB / 0.8171 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.992e-05/0.00714, allocations: 123.2 kB / 0.8172 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007141, allocations: 0 / 0.8172 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001495/0.00729, allocations: 27.88 kB / 0.8172 GB, free: 11.66 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001292/0.007419, allocations: 128.4 kB / 0.8173 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.00753, allocations: 51.72 kB / 0.8174 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.007532, allocations: 0.9688 kB / 0.8174 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.363e-05/0.007565, allocations: 31.67 kB / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.007674, allocations: 14.47 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.007965, allocations: 150.1 kB / 0.8176 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.682e-05/0.007992, allocations: 51.36 kB / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.89e-05/0.008051, allocations: 26.5 kB / 0.8177 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.008087, allocations: 12.5 kB / 0.8177 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of SimCode: time 7.82e-07/0.008088, allocations: 0 / 0.8177 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of Templates: time 0.002673/0.01076, allocations: 1.315 MB / 0.819 GB, free: 9.848 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9097691951319575]