Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001442/0.001442, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.001843/0.001843, allocations: 185 kB / 24.09 MB, free: 424 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.008/1.008, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.986/1.986, allocations: 377.9 MB / 0.624 GB, free: 8.406 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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.158e-05, allocations: 8.578 kB / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001429/0.00145, allocations: 0.8119 MB / 0.8128 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001248/0.001575, allocations: 43.78 kB / 0.8129 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.191e-05/0.001627, allocations: 0 / 0.8129 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.503e-05/0.001662, allocations: 12.52 kB / 0.8129 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.231e-05/0.001744, allocations: 15.81 kB / 0.8129 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.087e-05/0.001785, allocations: 17.23 kB / 0.8129 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.281e-05/0.001878, allocations: 59.84 kB / 0.813 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.001987, allocations: 31.95 kB / 0.813 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.002089, allocations: 46.28 kB / 0.813 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.655e-05/0.002125, allocations: 19.91 kB / 0.8131 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.00214, allocations: 4 kB / 0.8131 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-06/0.002147, allocations: 4 kB / 0.8131 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.002166, allocations: 15.88 kB / 0.8131 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.00219, allocations: 15.98 kB / 0.8131 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.826e-05/0.002268, allocations: 44.92 kB / 0.8131 GB, free: 328 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.00227, allocations: 0 / 0.8131 GB, free: 328 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.22e-07/0.002271, allocations: 0 / 0.8131 GB, free: 328 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.985e-06/0.002274, allocations: 0.9375 kB / 0.8131 GB, free: 328 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003279/0.002602, allocations: 412.2 kB / 0.8135 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.002638, allocations: 12.91 kB / 0.8135 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.002666, allocations: 16.89 kB / 0.8136 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.002772, allocations: 141.5 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.002781, allocations: 384 / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.002791, allocations: 12.38 kB / 0.8137 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.208e-05/0.002884, allocations: 90.98 kB / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.002891, allocations: 192 / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.002898, allocations: 384 / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.002903, allocations: 384 / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.786e-05/0.002931, allocations: 33.73 kB / 0.8138 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.003309, allocations: 0.7224 MB / 0.8145 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.554e-05/0.003384, allocations: 261.4 kB / 0.8148 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.003414, allocations: 131 kB / 0.8149 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.003439, allocations: 124.7 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002982/0.003738, allocations: 160.6 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.003739, allocations: 0 / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.944e-05/0.003788, allocations: 37.59 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.003836, allocations: 171.6 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/0.003929, allocations: 200.2 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.116e-06/0.003937, allocations: 29.7 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.003999, allocations: 179 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-06/0.004001, allocations: 0 / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.004027, allocations: 27.91 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.004129, allocations: 0.4893 MB / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-06/0.004136, allocations: 4 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.909e-05/0.004175, allocations: 81.42 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.256e-05/0.004238, allocations: 88.8 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.00424, allocations: 0 / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001021/0.004342, allocations: 83.64 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.004353, allocations: 4 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.00436, allocations: 4.844 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.004371, allocations: 0 / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.238e-05/0.004413, allocations: 20.8 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.004417, allocations: 4 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.004439, allocations: 13.45 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.004444, allocations: 8 kB / 0.8166 GB, free: 12.53 MB / 0.7761 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 8.245e-05/0.004526, allocations: 283.6 kB / 0.8168 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.004569, allocations: 144.9 kB / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.004614, allocations: 161.9 kB / 0.8171 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.988e-05/0.004664, allocations: 272 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.097e-05/0.004715, allocations: 268.1 kB / 0.8176 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-05/0.004766, allocations: 275.1 kB / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.004921, allocations: 496.5 kB / 0.8184 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.931e-05/0.004951, allocations: 144.9 kB / 0.8185 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.068e-05/0.004981, allocations: 152.8 kB / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.278e-05/0.005034, allocations: 268.1 kB / 0.8189 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.432e-05/0.005089, allocations: 272 kB / 0.8192 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.932e-05/0.005138, allocations: 264.1 kB / 0.8194 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.315e-05/0.005191, allocations: 268.1 kB / 0.8197 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.005308, allocations: 456.3 kB / 0.8201 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.005352, allocations: 156.8 kB / 0.8203 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.885e-05/0.005411, allocations: 273.2 kB / 0.8205 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.985e-05/0.005461, allocations: 152.8 kB / 0.8207 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.005516, allocations: 268.3 kB / 0.8209 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.005545, allocations: 153.9 kB / 0.8211 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.314e-05/0.005588, allocations: 139.2 kB / 0.8212 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.005588, allocations: 0 / 0.8212 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001463/0.005735, allocations: 9.297 kB / 0.8212 GB, free: 7.578 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 (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 9.068e-05/0.005825, allocations: 222.4 kB / 0.8214 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.081e-05/0.005886, allocations: 37.28 kB / 0.8215 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.005888, allocations: 0 / 0.8215 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.005889, allocations: 2.469 kB / 0.8215 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.006158, allocations: 0.7062 MB / 0.8222 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/0.006633, allocations: 277.6 kB / 0.8224 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.141e-05/0.006664, allocations: 63.34 kB / 0.8225 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.207e-05/0.006696, allocations: 3.703 kB / 0.8225 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.428e-05/0.00673, allocations: 74.2 kB / 0.8226 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.006731, allocations: 0 / 0.8226 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of Templates: time 0.001696/0.008427, allocations: 331.6 kB / 0.8229 GB, free: 5.828 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_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.1803713738918304]