Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001576/0.001576, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001724/0.001724, allocations: 200.6 kB / 22.17 MB, free: 5.207 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.47/1.47, 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.903/2.903, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.89 kB / 1.109 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9399/0.9419, allocations: 168.7 MB / 1.274 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001957/0.9439, allocations: 0.7976 MB / 1.275 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002007/0.9459, allocations: 1.495 MB / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.9459, allocations: 0 / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.913e-05/0.9459, allocations: 7.938 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.294e-05/0.946, allocations: 7.938 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.9465, allocations: 141 kB / 1.276 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.918e-05/0.9466, allocations: 55.89 kB / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.171e-05/0.9467, allocations: 7.984 kB / 1.277 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.755e-05/0.9467, allocations: 31.91 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.689e-05/0.9468, allocations: 31.89 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.9468, allocations: 4 kB / 1.277 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005066/0.9473, allocations: 323.3 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.9473, allocations: 19.91 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.9474, allocations: 23.86 kB / 1.277 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.9477, allocations: 206.1 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.9477, allocations: 3.938 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9477, allocations: 0 / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.9477, allocations: 4 kB / 1.277 GB, free: 1.277 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007667/0.9485, allocations: 410.8 kB / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 7.008e-05/0.9486, allocations: 12.03 kB / 1.278 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004831/0.949, allocations: 68.84 kB / 1.278 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.9492, allocations: 164.3 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.9493, allocations: 4.375 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.9493, allocations: 8.375 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.9497, allocations: 113.9 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.9497, allocations: 0 / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.9497, allocations: 8 kB / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.9498, allocations: 0 / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005076/0.9503, allocations: 111.8 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006349/0.9509, allocations: 332.7 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006826/0.9516, allocations: 154.4 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002742/0.9519, allocations: 56.81 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.9519, allocations: 0 / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.9519, allocations: 34.56 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.9519, allocations: 0 / 1.279 GB, free: 15.67 MB / 0.9825 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=11): time 0.01919/0.9711, allocations: 2.83 MB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.9711, allocations: 63.34 kB / 1.281 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.9713, allocations: 102 kB / 1.281 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.19e-05/0.9713, allocations: 25.7 kB / 1.282 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.9714, allocations: 92.08 kB / 1.282 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.889e-05/0.9715, allocations: 43.62 kB / 1.282 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.9716, allocations: 69.58 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.9718, allocations: 314.8 kB / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007445/0.9726, allocations: 195.8 kB / 1.282 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007097/0.9733, allocations: 191.3 kB / 1.282 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.9747, allocations: 388.5 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.9747, allocations: 4 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00169/0.9764, allocations: 477.4 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.9764, allocations: 7.938 kB / 1.283 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.9764, allocations: 48 / 1.283 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.9764, allocations: 3.984 kB / 1.283 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009243/0.9774, allocations: 119.7 kB / 1.283 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.9774, allocations: 3.938 kB / 1.283 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006607/0.978, allocations: 47.94 kB / 1.283 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.87e-05/0.9781, allocations: 19.94 kB / 1.283 GB, free: 10.57 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 (13): * Single equations (assignments): 13 * 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.0002062/0.9783, allocations: 113.8 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.9784, allocations: 11.95 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.906e-05/0.9785, allocations: 7.969 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.9785, allocations: 3.984 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.9785, allocations: 15.88 kB / 1.284 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.9785, allocations: 0 / 1.284 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/0.981, allocations: 1.039 MB / 1.285 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.9811, allocations: 4 kB / 1.285 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008645/0.9819, allocations: 103.8 kB / 1.285 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.9819, allocations: 7.938 kB / 1.285 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.785e-05/0.982, allocations: 27.92 kB / 1.285 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.982, allocations: 0 / 1.285 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.982, allocations: 0 / 1.285 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/0.9846, allocations: 0.7917 MB / 1.285 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.9847, allocations: 124.9 kB / 1.286 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.333e-05/0.9848, allocations: 4 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007122/0.9855, allocations: 44 kB / 1.286 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.306e-05/0.9856, allocations: 27.92 kB / 1.286 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.268e-05/0.9857, allocations: 27.94 kB / 1.286 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.41e-05/0.9858, allocations: 79.27 kB / 1.286 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9858, allocations: 8 kB / 1.286 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003953/0.9862, allocations: 51.94 kB / 1.286 GB, free: 7.926 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002253/0.9864, allocations: 111.7 kB / 1.286 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00159/0.988, allocations: 423.4 kB / 1.286 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.988, allocations: 4 kB / 1.286 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007992/0.9888, allocations: 223.7 kB / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.9892, allocations: 8 kB / 1.287 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004621/0.9938, allocations: 0.7715 MB / 1.287 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.9942, allocations: 0.6924 MB / 1.288 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005034/0.9947, allocations: 88.67 kB / 1.288 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.995, allocations: 55.3 kB / 1.288 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of SimCode: time 7.11e-07/0.995, allocations: 0 / 1.288 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of Templates: time 0.008127/1.003, allocations: 3.573 MB / 1.292 GB, free: 1.934 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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: 9.232990418095142]