Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 194 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.843/2.843, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 59.91 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9544/0.9563, allocations: 168.7 MB / 1.274 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002003/0.9583, allocations: 0.6171 MB / 1.275 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002187/0.9605, allocations: 1.458 MB / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.9606, allocations: 0 / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.9606, allocations: 0 / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.29e-05/0.9606, allocations: 3.938 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.9612, allocations: 147.4 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.183e-05/0.9612, allocations: 27.97 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.899e-05/0.9613, allocations: 0 / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.549e-05/0.9613, allocations: 27.86 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.505e-05/0.9614, allocations: 23.95 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.9615, allocations: 4 kB / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005025/0.962, allocations: 315.4 kB / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.962, allocations: 15.91 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.614e-05/0.9621, allocations: 11.98 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.9624, allocations: 186.2 kB / 1.277 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.9624, allocations: 4 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9624, allocations: 0 / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.9624, allocations: 0 / 1.277 GB, free: 1.586 MB / 0.9669 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.0006656/0.9631, allocations: 371.1 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.9631, allocations: 8.031 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004696/0.9636, allocations: 68.84 kB / 1.277 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.9637, allocations: 164.3 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.9638, allocations: 384 / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.9638, allocations: 12.27 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.9641, allocations: 77.94 kB / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.9641, allocations: 7.984 kB / 1.278 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.9641, allocations: 4 kB / 1.278 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.9641, allocations: 0 / 1.278 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.9645, allocations: 71.86 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002597/0.9647, allocations: 157.7 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006281/0.9653, allocations: 122.5 kB / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.9655, allocations: 44.91 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004843/0.966, allocations: 157 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.966, allocations: 34.5 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.966, allocations: 0 / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.001288/0.9673, allocations: 402.2 kB / 1.278 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.767e-05/0.9674, allocations: 55.41 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.81e-05/0.9675, allocations: 93.86 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.9675, allocations: 33.69 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.9676, allocations: 80.14 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.9676, allocations: 15.84 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.9677, allocations: 17.72 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.9678, allocations: 318.8 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.968, allocations: 36.09 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.9682, allocations: 36.03 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.9685, allocations: 84.73 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.9685, allocations: 0 / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003879/0.9689, allocations: 121.5 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.9689, allocations: 4 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.9689, allocations: 3.938 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.9689, allocations: 4 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.9691, allocations: 27.97 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.9691, allocations: 0 / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.9692, allocations: 11.98 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.9692, allocations: 0 / 1.279 GB, free: 14.71 MB / 0.9825 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 0.0001021/0.9693, allocations: 118.3 kB / 1.279 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.9693, allocations: 7.938 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004889/0.9698, allocations: 129.2 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.9698, allocations: 0 / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9698, allocations: 0 / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.9698, allocations: 4 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.9701, allocations: 173.6 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9701, allocations: 0 / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.9702, allocations: 31.91 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.9702, allocations: 0 / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.9703, allocations: 4 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.9703, allocations: 256 / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.9703, allocations: 4 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.9709, allocations: 185 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-05/0.971, allocations: 88.98 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.971, allocations: 4 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.9711, allocations: 16 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.9711, allocations: 4.328 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.9711, allocations: 4 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.661e-05/0.9712, allocations: 79.34 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9712, allocations: 0 / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002528/0.9715, allocations: 35.86 kB / 1.28 GB, free: 13.74 MB / 0.9825 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.0002331/0.9717, allocations: 127.1 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000412/0.9721, allocations: 83.95 kB / 1.28 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9721, allocations: 0 / 1.28 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.9723, allocations: 43.97 kB / 1.28 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.9725, allocations: 10.03 kB / 1.28 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007032/0.9732, allocations: 201.2 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.9735, allocations: 0.6857 MB / 1.281 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.478e-05/0.9736, allocations: 15.94 kB / 1.281 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.9736, allocations: 15.42 kB / 1.281 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of SimCode: time 7.11e-07/0.9736, allocations: 4 kB / 1.281 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of Templates: time 0.004328/0.978, allocations: 1.171 MB / 1.283 GB, free: 11.33 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.911855573300272]