Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.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.001428/0.001428, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001612/0.001612, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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 1.462/1.462, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 2.925/2.925, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] 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.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.8108 GB, free: 1.938 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/2.987e-05, allocations: 6.969 kB / 0.8108 GB, free: 1.93 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002795/0.002824, allocations: 1.502 MB / 0.8123 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000322/0.003146, allocations: 100.8 kB / 0.8124 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.00318, allocations: 4 kB / 0.8124 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.29e-05/0.003233, allocations: 3.938 kB / 0.8124 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.633e-05/0.003289, allocations: 9.281 kB / 0.8124 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.003486, allocations: 23.95 kB / 0.8124 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.061e-05/0.003577, allocations: 44.7 kB / 0.8125 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.569e-05/0.003662, allocations: 15.97 kB / 0.8125 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.865e-05/0.003731, allocations: 19.98 kB / 0.8125 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.003781, allocations: 20.91 kB / 0.8125 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.0038, allocations: 4 kB / 0.8125 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.788e-05/0.003868, allocations: 20.55 kB / 0.8125 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.003923, allocations: 15.92 kB / 0.8126 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.159e-05/0.003965, allocations: 13.23 kB / 0.8126 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.004111, allocations: 59.8 kB / 0.8126 GB, free: 92 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004113, allocations: 0 / 0.8126 GB, free: 92 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.42e-07/0.004114, allocations: 5.219 kB / 0.8126 GB, free: 88 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.004118, allocations: 0 / 0.8126 GB, free: 88 kB / 0.7605 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.000592/0.00471, allocations: 294.7 kB / 0.8129 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.004746, allocations: 13.28 kB / 0.8129 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.004797, allocations: 12.89 kB / 0.8129 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.00494, allocations: 121.7 kB / 0.8131 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.004952, allocations: 384 / 0.8131 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.004965, allocations: 6.781 kB / 0.8131 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.005232, allocations: 70.22 kB / 0.8131 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.005241, allocations: 192 / 0.8131 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.005251, allocations: 384 / 0.8131 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.005255, allocations: 384 / 0.8131 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.00558, allocations: 89.72 kB / 0.8132 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.005969, allocations: 229.2 kB / 0.8134 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.006201, allocations: 67.78 kB / 0.8135 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.006368, allocations: 38.45 kB / 0.8135 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002149/0.006583, allocations: 33.91 kB / 0.8136 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.006618, allocations: 30.56 kB / 0.8136 GB, free: 15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.006619, allocations: 0 / 0.8136 GB, free: 15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.000642/0.007261, allocations: 156 kB / 0.8137 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.007306, allocations: 51.41 kB / 0.8138 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.007446, allocations: 129.8 kB / 0.8139 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.007467, allocations: 25.7 kB / 0.8139 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.007542, allocations: 96.56 kB / 0.814 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.007566, allocations: 12.47 kB / 0.814 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.007607, allocations: 13.72 kB / 0.8141 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.007779, allocations: 315.7 kB / 0.8144 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.007957, allocations: 40.77 kB / 0.8144 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.008109, allocations: 37.86 kB / 0.8144 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.008414, allocations: 85.88 kB / 0.8145 GB, free: 14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.008416, allocations: 0 / 0.8145 GB, free: 14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003735/0.008789, allocations: 107.3 kB / 0.8146 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.008807, allocations: 7.938 kB / 0.8146 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.008812, allocations: 1.281 kB / 0.8146 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.008831, allocations: 4 kB / 0.8146 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.00897, allocations: 20.62 kB / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.008974, allocations: 0 / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.682e-05/0.009061, allocations: 16.83 kB / 0.8147 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.009067, allocations: 0 / 0.8147 GB, free: 13.85 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 (3): * Single equations (assignments): 3 * 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.428e-05/0.009162, allocations: 111.4 kB / 0.8148 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.009201, allocations: 15.94 kB / 0.8148 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.009607, allocations: 122.8 kB / 0.8149 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.009612, allocations: 7.406 kB / 0.8149 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.009616, allocations: 4 kB / 0.8149 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.009618, allocations: 0 / 0.8149 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.009796, allocations: 121.3 kB / 0.815 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.009798, allocations: 0 / 0.815 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.009904, allocations: 15.98 kB / 0.815 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.009906, allocations: 0 / 0.815 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.009913, allocations: 0 / 0.815 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.009917, allocations: 4.438 kB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.009918, allocations: 0.9062 kB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005056/0.01042, allocations: 212.4 kB / 0.8153 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.01044, allocations: 5.188 kB / 0.8153 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.01045, allocations: 0 / 0.8153 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.01057, allocations: 15.92 kB / 0.8153 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.01061, allocations: 9.078 kB / 0.8153 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-06/0.01061, allocations: 0 / 0.8153 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.865e-05/0.0107, allocations: 101.1 kB / 0.8154 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.0107, allocations: 4.594 kB / 0.8154 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002401/0.01094, allocations: 14.19 kB / 0.8154 GB, free: 13.05 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0001605/0.0111, allocations: 103.2 kB / 0.8155 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003659/0.01147, allocations: 75.02 kB / 0.8156 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.01147, allocations: 0 / 0.8156 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.01165, allocations: 47.89 kB / 0.8156 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.01191, allocations: 9.688 kB / 0.8156 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.01229, allocations: 152.3 kB / 0.8158 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.275e-05/0.01237, allocations: 76.12 kB / 0.8158 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.07e-05/0.0124, allocations: 5.125 kB / 0.8158 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.01243, allocations: 12.5 kB / 0.8159 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.01243, allocations: 1.062 kB / 0.8159 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of Templates: time 0.003651/0.01608, allocations: 0.8505 MB / 0.8167 GB, free: 11.7 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.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: 7.816395362955518]