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.0009723/0.0009723, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009253/0.0009253, allocations: 165 kB / 24.28 MB, free: 276 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 0.9885/0.9885, allocations: 177.1 MB / 204.6 MB, free: 5.242 MB / 186.7 MB " [Timeout remaining time 179] 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 1.955/1.955, allocations: 377.8 MB / 0.6239 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 177] 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.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 1.933e-06/1.933e-06, allocations: 0 / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.63e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001552/0.001579, allocations: 0.821 MB / 0.8123 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001261/0.001705, allocations: 45.47 kB / 0.8124 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.001756, allocations: 4 kB / 0.8124 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.001791, allocations: 7.875 kB / 0.8124 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.472e-05/0.001866, allocations: 7.875 kB / 0.8124 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.328e-05/0.001909, allocations: 19.97 kB / 0.8124 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.463e-05/0.002004, allocations: 65.38 kB / 0.8125 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.002126, allocations: 31.84 kB / 0.8125 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.002204, allocations: 39.84 kB / 0.8125 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/0.002258, allocations: 15.92 kB / 0.8126 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.002279, allocations: 9.75 kB / 0.8126 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-06/0.002288, allocations: 8 kB / 0.8126 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.00231, allocations: 19.91 kB / 0.8126 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.00234, allocations: 19.92 kB / 0.8126 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.536e-05/0.002435, allocations: 40.92 kB / 0.8127 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.002438, allocations: 0 / 0.8127 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.51e-07/0.002438, allocations: 0 / 0.8127 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.002443, allocations: 5.5 kB / 0.8127 GB, free: 0.9219 MB / 0.7605 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.0003885/0.002832, allocations: 400.3 kB / 0.813 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.002872, allocations: 12.03 kB / 0.8131 GB, free: 492 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.002918, allocations: 16.89 kB / 0.8131 GB, free: 476 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.003095, allocations: 142.7 kB / 0.8132 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.003107, allocations: 4.375 kB / 0.8132 GB, free: 304 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.003118, allocations: 8.375 kB / 0.8132 GB, free: 296 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.003234, allocations: 85.52 kB / 0.8133 GB, free: 196 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.003242, allocations: 4.125 kB / 0.8133 GB, free: 192 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.003254, allocations: 4.375 kB / 0.8133 GB, free: 188 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.003263, allocations: 12.84 kB / 0.8133 GB, free: 176 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.298e-05/0.003306, allocations: 24.64 kB / 0.8133 GB, free: 152 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.003734, allocations: 463 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.198e-05/0.003786, allocations: 55.72 kB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.818e-05/0.003814, allocations: 19.5 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.003821, allocations: 0 / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.003847, allocations: 49.94 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.003848, allocations: 0 / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001455/0.003994, allocations: 46.97 kB / 0.8139 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.004033, allocations: 77.11 kB / 0.814 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.004138, allocations: 186.4 kB / 0.8142 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.004148, allocations: 29.7 kB / 0.8142 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.004211, allocations: 159.4 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.633e-06/0.004218, allocations: 7.891 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.004247, allocations: 24.75 kB / 0.8144 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.004364, allocations: 0.4884 MB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.004376, allocations: 0 / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.071e-05/0.004397, allocations: 28.17 kB / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.785e-05/0.004435, allocations: 32.25 kB / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.004437, allocations: 0 / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.943e-05/0.004496, allocations: 50.88 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.004513, allocations: 4 kB / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.004518, allocations: 0.9688 kB / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.004532, allocations: 4 kB / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.949e-05/0.004592, allocations: 11.92 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.004599, allocations: 6.156 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.568e-05/0.004614, allocations: 0 / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-06/0.004618, allocations: 4 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.406e-05/0.004682, allocations: 152.6 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.004704, allocations: 4 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.004728, allocations: 14.69 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.00473, allocations: 0 / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.004734, allocations: 3.984 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.004739, allocations: 3.938 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.005018, allocations: 0.5421 MB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.005019, allocations: 96 / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.264e-05/0.005032, allocations: 7.922 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.005035, allocations: 7.984 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.005042, allocations: 5.062 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.005044, allocations: 0 / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005045, allocations: 0 / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.299e-05/0.005108, allocations: 88.56 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.005124, allocations: 8.516 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.005137, allocations: 8.5 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-06/0.005144, allocations: 0 / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.00516, allocations: 8.969 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.005162, allocations: 0 / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.732e-05/0.005209, allocations: 141.8 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005209, allocations: 0 / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001232/0.005332, allocations: 15.89 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.127e-05/0.005413, allocations: 103 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.495e-05/0.005498, allocations: 24.28 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.0055, allocations: 0.9062 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.548e-06/0.00551, allocations: 11.69 kB / 0.8161 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.005622, allocations: 1.094 kB / 0.8161 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.005897, allocations: 174.7 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.573e-05/0.005933, allocations: 64.31 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.752e-05/0.00596, allocations: 5.094 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.005984, allocations: 12.5 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of SimCode: time 8.12e-07/0.005985, allocations: 1.062 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of Templates: time 0.002112/0.008097, allocations: 351.7 kB / 0.8167 GB, free: 12.39 MB / 0.7761 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 -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.321526823099703]