Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.00113/0.00113, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001221/0.002351, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008274/0.0008274, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.001924, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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.9545/0.9545, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08497/1.039, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.558/2.558, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2675/2.825, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/1.975e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001352/0.001372, allocations: 0.8668 MB / 0.8198 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 8.034e-05/0.001452, allocations: 47.78 kB / 0.8198 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.001488, allocations: 0 / 0.8198 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.00152, allocations: 11.86 kB / 0.8198 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.143e-05/0.001562, allocations: 15.81 kB / 0.8199 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 3.081e-05/0.001593, allocations: 19.98 kB / 0.8199 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.544e-05/0.001668, allocations: 59.84 kB / 0.8199 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.792e-05/0.001756, allocations: 35.91 kB / 0.82 GB, free: 1.422 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.77e-05/0.001834, allocations: 47.84 kB / 0.82 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.617e-05/0.00187, allocations: 11.92 kB / 0.82 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.00189, allocations: 7.938 kB / 0.82 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.244e-06/0.001897, allocations: 4 kB / 0.82 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.001915, allocations: 11.94 kB / 0.8201 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.001935, allocations: 15.94 kB / 0.8201 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.383e-05/0.002019, allocations: 55.7 kB / 0.8201 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.00203, allocations: 0 / 0.8201 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002031, allocations: 0 / 0.8201 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.002044, allocations: 0 / 0.8201 GB, free: 1.27 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000341/0.002385, allocations: 288.3 kB / 0.8204 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.002413, allocations: 8.031 kB / 0.8204 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.002442, allocations: 12.92 kB / 0.8204 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.002564, allocations: 137.6 kB / 0.8205 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.002575, allocations: 8.281 kB / 0.8206 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.002588, allocations: 8.375 kB / 0.8206 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.002689, allocations: 81.33 kB / 0.8206 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.002697, allocations: 4.188 kB / 0.8206 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.002704, allocations: 384 / 0.8206 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.002711, allocations: 4.375 kB / 0.8206 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.947e-05/0.002741, allocations: 19.88 kB / 0.8207 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.0031, allocations: 0.5049 MB / 0.8212 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.8e-05/0.003178, allocations: 169.1 kB / 0.8213 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.431e-05/0.003202, allocations: 84.27 kB / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.003226, allocations: 75.28 kB / 0.8215 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.003262, allocations: 109.8 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.003263, allocations: 4 kB / 0.8216 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.028e-05/0.003324, allocations: 25.7 kB / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.003368, allocations: 130.7 kB / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.391e-05/0.003462, allocations: 149.7 kB / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.003473, allocations: 29.7 kB / 0.8219 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.003523, allocations: 119.8 kB / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-06/0.003526, allocations: 0 / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.003552, allocations: 25.67 kB / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.003636, allocations: 326.8 kB / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-06/0.003643, allocations: 7.875 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.11e-05/0.003674, allocations: 62.84 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.362e-05/0.003728, allocations: 70.73 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.00373, allocations: 0 / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.473e-05/0.003815, allocations: 77.55 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.003827, allocations: 4 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.003833, allocations: 7.938 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.003846, allocations: 0 / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.038e-05/0.003896, allocations: 12 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.003899, allocations: 4.156 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.003922, allocations: 11.88 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.003928, allocations: 11.97 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 7.061e-05/0.003999, allocations: 197.3 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.004037, allocations: 113 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.004078, allocations: 116.8 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.382e-05/0.004121, allocations: 188.2 kB / 0.8232 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.497e-05/0.004166, allocations: 180.3 kB / 0.8234 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.871e-05/0.004205, allocations: 180.2 kB / 0.8235 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.00433, allocations: 333.4 kB / 0.8239 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/0.004351, allocations: 101 kB / 0.824 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.004376, allocations: 108.9 kB / 0.8241 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.004412, allocations: 108.9 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001821/0.004594, allocations: 188.2 kB / 0.8243 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.004631, allocations: 180.3 kB / 0.8245 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.602e-05/0.004667, allocations: 176.3 kB / 0.8247 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.771e-05/0.004705, allocations: 188.2 kB / 0.8249 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.525e-05/0.00479, allocations: 303.7 kB / 0.8252 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/0.004836, allocations: 188.2 kB / 0.8253 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.255e-05/0.004878, allocations: 104.9 kB / 0.8254 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.004918, allocations: 180.3 kB / 0.8256 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.004938, allocations: 105 kB / 0.8257 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.354e-05/0.004962, allocations: 20.84 kB / 0.8257 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004962, allocations: 0 / 0.8257 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001252/0.005087, allocations: 11.95 kB / 0.8257 GB, free: 11.11 MB / 0.8073 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 (0): * Single equations (assignments): 0 * 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.000107/0.005194, allocations: 167.6 kB / 0.8259 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.627e-05/0.00526, allocations: 28.78 kB / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.005265, allocations: 0 / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/0.005268, allocations: 4 kB / 0.8259 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.005475, allocations: 484.3 kB / 0.8264 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002195/0.005694, allocations: 224.1 kB / 0.8266 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3e-05/0.005724, allocations: 63.34 kB / 0.8267 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.867e-05/0.005763, allocations: 8.719 kB / 0.8267 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.005796, allocations: 51.38 kB / 0.8267 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of SimCode: time 6.51e-07/0.005796, allocations: 0 / 0.8267 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of Templates: time 0.001743/0.007539, allocations: 271.4 kB / 0.827 GB, free: 9.77 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2626688200980425]