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.001041/0.001041, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001189/0.001189, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9799/0.9799, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.896/1.896, allocations: 377.9 MB / 0.6247 GB, free: 8.398 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.473e-06/1.473e-06, allocations: 0 / 0.8128 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.673e-05, allocations: 2.969 kB / 0.8128 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001085/0.001102, allocations: 0.615 MB / 0.8134 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.002509, allocations: 1.467 MB / 0.8149 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.002534, allocations: 0 / 0.8149 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.00255, allocations: 3.938 kB / 0.8149 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 2.728e-05/0.002577, allocations: 1.594 kB / 0.8149 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.002964, allocations: 141.3 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.155e-05/0.003026, allocations: 31.97 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.195e-05/0.003058, allocations: 0.6875 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.107e-05/0.003109, allocations: 19.98 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.477e-05/0.003173, allocations: 24.42 kB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.003187, allocations: 4.719 kB / 0.8151 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.003448, allocations: 243.5 kB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.003463, allocations: 8.453 kB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.717e-05/0.00348, allocations: 13.36 kB / 0.8154 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.003698, allocations: 203.4 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.0037, allocations: 0 / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.01e-07/0.0037, allocations: 0 / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.003704, allocations: 0.5312 kB / 0.8155 GB, free: 14.61 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.000358/0.004062, allocations: 397.3 kB / 0.8159 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.004093, allocations: 8.031 kB / 0.8159 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.004314, allocations: 55.67 kB / 0.816 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.118e-05/0.004395, allocations: 108.6 kB / 0.8161 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.00441, allocations: 5.688 kB / 0.8161 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.004428, allocations: 4.375 kB / 0.8161 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.004576, allocations: 102.1 kB / 0.8162 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.004582, allocations: 192 / 0.8162 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.004591, allocations: 384 / 0.8162 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.004597, allocations: 4.719 kB / 0.8162 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.732e-05/0.004634, allocations: 15.92 kB / 0.8162 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001151/0.004749, allocations: 102.5 kB / 0.8163 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.00491, allocations: 59.14 kB / 0.8164 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.644e-05/0.004936, allocations: 20.52 kB / 0.8164 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.005086, allocations: 50.5 kB / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.005107, allocations: 39.2 kB / 0.8165 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.005108, allocations: 0 / 0.8165 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0003542/0.005462, allocations: 209.7 kB / 0.8167 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.005487, allocations: 53.94 kB / 0.8167 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.781e-05/0.005545, allocations: 165.8 kB / 0.8169 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.005557, allocations: 25.7 kB / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.005588, allocations: 130.9 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.005616, allocations: 19.84 kB / 0.8171 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.005649, allocations: 23.36 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.005758, allocations: 0.4889 MB / 0.8176 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.005779, allocations: 8.531 kB / 0.8176 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.03e-05/0.005799, allocations: 13.92 kB / 0.8176 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.317e-05/0.005843, allocations: 23.69 kB / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.005844, allocations: 0 / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.773e-05/0.005931, allocations: 65.64 kB / 0.8177 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.005941, allocations: 4 kB / 0.8177 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.005945, allocations: 4.844 kB / 0.8177 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.005954, allocations: 0.6562 kB / 0.8177 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/0.006026, allocations: 27.08 kB / 0.8177 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.00603, allocations: 3.938 kB / 0.8177 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.275e-05/0.006062, allocations: 7.984 kB / 0.8177 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.006068, allocations: 0 / 0.8177 GB, free: 12.18 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 6.015e-05/0.006128, allocations: 156.6 kB / 0.8179 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.006142, allocations: 8.328 kB / 0.8179 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.006264, allocations: 80.8 kB / 0.8179 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.006267, allocations: 3.984 kB / 0.8179 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.006268, allocations: 9.031 kB / 0.818 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.006272, allocations: 3.938 kB / 0.818 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.061e-05/0.006352, allocations: 109.2 kB / 0.8181 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.006353, allocations: 1.125 kB / 0.8181 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.437e-05/0.006417, allocations: 15.98 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.006419, allocations: 1.094 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.006427, allocations: 7.984 kB / 0.8181 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.006428, allocations: 3.938 kB / 0.8181 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006429, allocations: 1 kB / 0.8181 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.006563, allocations: 108.4 kB / 0.8182 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.006593, allocations: 17.59 kB / 0.8182 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.006605, allocations: 4 kB / 0.8182 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.746e-05/0.006643, allocations: 8 kB / 0.8182 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.006661, allocations: 8.422 kB / 0.8182 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.006667, allocations: 4 kB / 0.8182 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.797e-05/0.006695, allocations: 120.7 kB / 0.8183 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006695, allocations: 0 / 0.8183 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001687/0.006864, allocations: 35.86 kB / 0.8184 GB, free: 11.43 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.0001235/0.006987, allocations: 133.1 kB / 0.8185 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.601e-05/0.007073, allocations: 39.8 kB / 0.8185 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.007075, allocations: 0 / 0.8185 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.051e-05/0.007105, allocations: 32.45 kB / 0.8186 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/0.007207, allocations: 4 kB / 0.8186 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002637/0.00747, allocations: 152 kB / 0.8187 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.371e-05/0.007494, allocations: 55.36 kB / 0.8188 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.459e-05/0.007549, allocations: 19.31 kB / 0.8188 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.007615, allocations: 78.19 kB / 0.8189 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of SimCode: time 4.7e-07/0.007616, allocations: 0 / 0.8189 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of Templates: time 0.002857/0.01047, allocations: 1.35 MB / 0.8202 GB, free: 9.531 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: 5.001580525189638]