Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001772/0.001772, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001303/0.001303, allocations: 161 kB / 24.16 MB, free: 332 kB / 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.102/1.102, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.984/1.984, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.965e-05, allocations: 8.422 kB / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002818/0.002848, allocations: 0.854 MB / 0.7609 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002135/0.003061, allocations: 49.19 kB / 0.761 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.509e-05/0.003126, allocations: 0 / 0.761 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.039e-05/0.003177, allocations: 11.86 kB / 0.761 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.003282, allocations: 17.95 kB / 0.761 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.692e-05/0.003349, allocations: 18.11 kB / 0.761 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.003487, allocations: 60.81 kB / 0.7611 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.003627, allocations: 39.89 kB / 0.7611 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.003764, allocations: 50.61 kB / 0.7611 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.934e-05/0.003813, allocations: 15.92 kB / 0.7612 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.003832, allocations: 4 kB / 0.7612 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-06/0.003841, allocations: 4.594 kB / 0.7612 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.003862, allocations: 8 kB / 0.7612 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.003894, allocations: 20.44 kB / 0.7612 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.004018, allocations: 49.27 kB / 0.7612 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.004022, allocations: 0 / 0.7612 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.112e-06/0.004023, allocations: 0 / 0.7612 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.004029, allocations: 0 / 0.7612 GB, free: 5.402 MB / 0.7136 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.0003904/0.004419, allocations: 277.7 kB / 0.7615 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.004462, allocations: 12.03 kB / 0.7615 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.004498, allocations: 8.922 kB / 0.7615 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.004682, allocations: 146.3 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.004694, allocations: 384 / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.00471, allocations: 17.06 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.004837, allocations: 71.95 kB / 0.7617 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.004846, allocations: 0.9375 kB / 0.7617 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.004854, allocations: 384 / 0.7617 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.004861, allocations: 2.562 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.602e-05/0.004907, allocations: 31.84 kB / 0.7618 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.005414, allocations: 0.4895 MB / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.407e-05/0.005488, allocations: 173.1 kB / 0.7624 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.656e-05/0.005515, allocations: 84.14 kB / 0.7625 GB, free: 4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.005539, allocations: 77.09 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.005585, allocations: 109.8 kB / 0.7627 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.005586, allocations: 0 / 0.7627 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.844e-05/0.005654, allocations: 33.73 kB / 0.7627 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.005706, allocations: 129.8 kB / 0.7628 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.005833, allocations: 148.9 kB / 0.763 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.005845, allocations: 29.69 kB / 0.763 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.005915, allocations: 127.8 kB / 0.7631 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.005917, allocations: 3.938 kB / 0.7631 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.005957, allocations: 21.67 kB / 0.7632 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.006057, allocations: 326.8 kB / 0.7635 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.006069, allocations: 4 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.712e-05/0.006116, allocations: 58.89 kB / 0.7635 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.176e-05/0.006188, allocations: 66.8 kB / 0.7636 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.006191, allocations: 4 kB / 0.7636 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001344/0.006325, allocations: 75.05 kB / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.006341, allocations: 5.719 kB / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.00635, allocations: 5.281 kB / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.006365, allocations: 4 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/0.006433, allocations: 23.91 kB / 0.7637 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.006437, allocations: 0.5312 kB / 0.7637 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.171e-05/0.006479, allocations: 7.938 kB / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.006486, allocations: 4.844 kB / 0.7637 GB, free: 2.652 MB / 0.7136 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 9.122e-05/0.006577, allocations: 189.8 kB / 0.7639 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.006634, allocations: 108.9 kB / 0.764 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.006685, allocations: 109.3 kB / 0.7641 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.319e-05/0.006738, allocations: 180.3 kB / 0.7643 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.852e-05/0.006797, allocations: 195.2 kB / 0.7645 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.637e-05/0.006853, allocations: 176.3 kB / 0.7646 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.007049, allocations: 341.3 kB / 0.765 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.224e-05/0.007082, allocations: 101 kB / 0.7651 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.007116, allocations: 101 kB / 0.7652 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.608e-05/0.007172, allocations: 184.2 kB / 0.7653 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.197e-05/0.007224, allocations: 176.3 kB / 0.7655 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-05/0.007284, allocations: 187.3 kB / 0.7657 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-05/0.007336, allocations: 184.2 kB / 0.7658 GB, free: 368 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.007462, allocations: 307.7 kB / 0.7661 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/0.007531, allocations: 112.9 kB / 0.7662 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.283e-05/0.007594, allocations: 184.2 kB / 0.7664 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.00767, allocations: 101.3 kB / 0.7665 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.00773, allocations: 188.2 kB / 0.7667 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.007763, allocations: 105 kB / 0.7668 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.182e-05/0.007805, allocations: 28.81 kB / 0.7668 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.007805, allocations: 1.312 kB / 0.7668 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002397/0.008045, allocations: 19.83 kB / 0.7668 GB, free: 15.27 MB / 0.7292 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.0001252/0.00817, allocations: 152.9 kB / 0.767 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.005e-05/0.00825, allocations: 33.48 kB / 0.767 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.008257, allocations: 4.594 kB / 0.767 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.00826, allocations: 7.938 kB / 0.767 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.008545, allocations: 464.7 kB / 0.7675 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.008831, allocations: 220 kB / 0.7677 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.133e-05/0.008872, allocations: 60.28 kB / 0.7677 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.689e-05/0.008919, allocations: 6.516 kB / 0.7678 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.008958, allocations: 57.8 kB / 0.7678 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of SimCode: time 9.32e-07/0.008959, allocations: 0 / 0.7678 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of Templates: time 0.002363/0.01132, allocations: 339.4 kB / 0.7681 GB, free: 13.91 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.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.195596821140498]