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.001088/0.001088, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001212/0.001212, allocations: 161 kB / 24.17 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 0.9887/0.9887, 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.966/1.966, allocations: 377.9 MB / 0.624 GB, free: 8.348 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.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.382e-06/1.382e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.835e-05, allocations: 2.969 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001431/0.001449, allocations: 0.8231 MB / 0.7608 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001183/0.001568, allocations: 48.81 kB / 0.7609 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.524e-05/0.001613, allocations: 4.562 kB / 0.7609 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.337e-05/0.001646, allocations: 3.938 kB / 0.7609 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.217e-05/0.001728, allocations: 15.06 kB / 0.7609 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.133e-05/0.00177, allocations: 19.97 kB / 0.7609 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.282e-05/0.001862, allocations: 65.38 kB / 0.761 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.726e-05/0.00196, allocations: 24.69 kB / 0.761 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.975e-05/0.002059, allocations: 55.31 kB / 0.7611 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.425e-05/0.002094, allocations: 15.97 kB / 0.7611 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.002113, allocations: 8 kB / 0.7611 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.772e-06/0.002119, allocations: 8.469 kB / 0.7611 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.002137, allocations: 9.641 kB / 0.7611 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.96e-05/0.002156, allocations: 15.94 kB / 0.7611 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.902e-05/0.002235, allocations: 47.77 kB / 0.7612 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.002237, allocations: 0 / 0.7612 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.41e-07/0.002238, allocations: 0 / 0.7612 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.796e-06/0.002241, allocations: 1.219 kB / 0.7612 GB, free: 5.543 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.0002731/0.002514, allocations: 284.5 kB / 0.7614 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.002544, allocations: 8.031 kB / 0.7614 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.002569, allocations: 10.28 kB / 0.7614 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.002691, allocations: 141.5 kB / 0.7616 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.002701, allocations: 4.375 kB / 0.7616 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.002714, allocations: 9.094 kB / 0.7616 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.843e-05/0.002802, allocations: 79.92 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.00281, allocations: 4.781 kB / 0.7617 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.002818, allocations: 4.375 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.002823, allocations: 1.062 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.55e-05/0.002849, allocations: 23.91 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.003185, allocations: 0.5018 MB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.002e-05/0.003245, allocations: 174.1 kB / 0.7624 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.003266, allocations: 80.14 kB / 0.7624 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.003286, allocations: 76.66 kB / 0.7625 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.003319, allocations: 109.8 kB / 0.7626 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.00332, allocations: 0 / 0.7626 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.525e-05/0.003366, allocations: 34.19 kB / 0.7626 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.003413, allocations: 127.9 kB / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.478e-05/0.003498, allocations: 152.2 kB / 0.7629 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.891e-06/0.003504, allocations: 25.7 kB / 0.7629 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/0.003552, allocations: 119.8 kB / 0.7631 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-06/0.003555, allocations: 9.156 kB / 0.7631 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.003588, allocations: 21.66 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.568e-05/0.003663, allocations: 326.8 kB / 0.7634 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-06/0.00367, allocations: 13.17 kB / 0.7634 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.996e-05/0.0037, allocations: 54.89 kB / 0.7635 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.365e-05/0.003754, allocations: 66.27 kB / 0.7635 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.003756, allocations: 0 / 0.7635 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.688e-05/0.003843, allocations: 80.36 kB / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.003853, allocations: 4 kB / 0.7636 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.003859, allocations: 4 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.00387, allocations: 0 / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.479e-05/0.003915, allocations: 12 kB / 0.7636 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.00392, allocations: 4 kB / 0.7636 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.003946, allocations: 9.375 kB / 0.7636 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.00395, allocations: 4 kB / 0.7636 GB, free: 2.793 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 7.621e-05/0.004027, allocations: 201 kB / 0.7638 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.004063, allocations: 105.6 kB / 0.7639 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.004108, allocations: 122.8 kB / 0.764 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.427e-05/0.004152, allocations: 180.3 kB / 0.7642 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-05/0.004208, allocations: 180.3 kB / 0.7644 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.106e-05/0.004259, allocations: 180.2 kB / 0.7646 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.004425, allocations: 329.4 kB / 0.7649 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.88e-05/0.004453, allocations: 108.9 kB / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/0.004794, allocations: 103.4 kB / 0.7651 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.406e-05/0.004838, allocations: 180.2 kB / 0.7652 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/0.004882, allocations: 188.2 kB / 0.7654 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.159e-05/0.004923, allocations: 176.3 kB / 0.7656 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.182e-05/0.004965, allocations: 180.2 kB / 0.7658 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.798e-05/0.005063, allocations: 311.7 kB / 0.7661 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.005104, allocations: 115.1 kB / 0.7662 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.794e-05/0.005162, allocations: 180.2 kB / 0.7663 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.595e-05/0.005208, allocations: 117.2 kB / 0.7665 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.005245, allocations: 176.3 kB / 0.7666 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.005271, allocations: 109 kB / 0.7667 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.461e-05/0.005295, allocations: 26.91 kB / 0.7668 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005295, allocations: 1.031 kB / 0.7668 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001335/0.005429, allocations: 11.95 kB / 0.7668 GB, free: 15.41 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 9.031e-05/0.005519, allocations: 156.6 kB / 0.7669 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.455e-05/0.005574, allocations: 31.16 kB / 0.7669 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.005578, allocations: 7.938 kB / 0.767 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.005579, allocations: 0 / 0.767 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.00576, allocations: 463.6 kB / 0.7674 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002075/0.005967, allocations: 234.3 kB / 0.7676 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.82e-05/0.005996, allocations: 59.34 kB / 0.7677 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.169e-05/0.006027, allocations: 4.734 kB / 0.7677 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.006054, allocations: 56.78 kB / 0.7677 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.006054, allocations: 0 / 0.7677 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of Templates: time 0.001845/0.007899, allocations: 330 kB / 0.768 GB, free: 14.05 MB / 0.7292 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.070024753920734]