Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.001605/0.001605, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.002123/0.002123, allocations: 165 kB / 23.82 MB, free: 0.7422 MB / 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.9831/0.9831, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.89/1.89, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.234e-05, allocations: 4.391 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.00468/0.004703, allocations: 0.8263 MB / 0.8124 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001152/0.004818, allocations: 43.78 kB / 0.8124 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/0.004862, allocations: 6.375 kB / 0.8124 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.115e-05/0.004904, allocations: 11.86 kB / 0.8124 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.692e-05/0.004971, allocations: 11.88 kB / 0.8124 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.842e-05/0.005019, allocations: 15.98 kB / 0.8124 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.786e-05/0.005117, allocations: 59.84 kB / 0.8125 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.005234, allocations: 35.95 kB / 0.8125 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.373e-05/0.005318, allocations: 41.38 kB / 0.8126 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.052e-05/0.005358, allocations: 11.92 kB / 0.8126 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.005377, allocations: 4 kB / 0.8126 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.005386, allocations: 8 kB / 0.8126 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.005405, allocations: 15.92 kB / 0.8126 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.005435, allocations: 21.3 kB / 0.8126 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.745e-05/0.005523, allocations: 39.77 kB / 0.8127 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.005525, allocations: 4 kB / 0.8127 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.11e-07/0.005526, allocations: 1.438 kB / 0.8127 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.00553, allocations: 0 / 0.8127 GB, free: 0.6094 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.0003611/0.005891, allocations: 404.2 kB / 0.8131 GB, free: 180 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.005927, allocations: 12.03 kB / 0.8131 GB, free: 168 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.00597, allocations: 18.05 kB / 0.8131 GB, free: 152 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.006121, allocations: 132.5 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.006136, allocations: 12.31 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.006147, allocations: 4.906 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003134/0.009281, allocations: 90.03 kB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.009288, allocations: 1.062 kB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.009301, allocations: 8.375 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.00931, allocations: 384 / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.286e-05/0.009362, allocations: 36.61 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.009865, allocations: 0.7496 MB / 0.8141 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.439e-05/0.00995, allocations: 261.4 kB / 0.8143 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/0.009986, allocations: 132.2 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.01002, allocations: 123.2 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.01007, allocations: 156.7 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.01007, allocations: 5.094 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.313e-05/0.01013, allocations: 37.64 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.01019, allocations: 178.5 kB / 0.8149 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.01032, allocations: 197.3 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.01033, allocations: 25.7 kB / 0.8152 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.01041, allocations: 179 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.01041, allocations: 0 / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.01045, allocations: 28.11 kB / 0.8154 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.01058, allocations: 0.4884 MB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.0106, allocations: 9.172 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.893e-05/0.01065, allocations: 81.42 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.485e-05/0.01072, allocations: 88.3 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01072, allocations: 0 / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001397/0.01086, allocations: 88.08 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.01088, allocations: 4 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01088, allocations: 4 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.0109, allocations: 7.281 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.392e-05/0.01096, allocations: 19.92 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01097, allocations: 4.094 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.418e-05/0.011, allocations: 11.95 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.01101, allocations: 4 kB / 0.8161 GB, free: 12.77 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 0.0001614/0.01117, allocations: 279.7 kB / 0.8164 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.01123, allocations: 152.8 kB / 0.8166 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.01127, allocations: 156.7 kB / 0.8167 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.13e-05/0.01134, allocations: 272.5 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.973e-05/0.0114, allocations: 270 kB / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-05/0.01146, allocations: 272.1 kB / 0.8175 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.01165, allocations: 0.5076 MB / 0.818 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.365e-05/0.01169, allocations: 148.9 kB / 0.8181 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.01183, allocations: 148.8 kB / 0.8183 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.594e-05/0.01189, allocations: 265 kB / 0.8185 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-05/0.01195, allocations: 280 kB / 0.8188 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.078e-05/0.01201, allocations: 272 kB / 0.819 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-05/0.01208, allocations: 264.9 kB / 0.8193 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.01221, allocations: 459.8 kB / 0.8197 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.01226, allocations: 155.2 kB / 0.8199 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.006e-05/0.01233, allocations: 272 kB / 0.8201 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.0124, allocations: 144.9 kB / 0.8203 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.01246, allocations: 272.3 kB / 0.8205 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.0125, allocations: 156.8 kB / 0.8207 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.997e-05/0.01256, allocations: 139.2 kB / 0.8208 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01256, allocations: 3.031 kB / 0.8208 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002386/0.0128, allocations: 11.95 kB / 0.8208 GB, free: 7.781 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 0.0001028/0.0129, allocations: 210.4 kB / 0.821 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.252e-05/0.01299, allocations: 43.58 kB / 0.8211 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01299, allocations: 0.9062 kB / 0.8211 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.01299, allocations: 0 / 0.8211 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.01346, allocations: 0.7073 MB / 0.8218 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.01378, allocations: 269.7 kB / 0.822 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.295e-05/0.01381, allocations: 63.28 kB / 0.8221 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.765e-05/0.01384, allocations: 10.88 kB / 0.8221 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.01386, allocations: 13.75 kB / 0.8221 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.01386, allocations: 0 / 0.8221 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of Templates: time 0.001772/0.01563, allocations: 323.2 kB / 0.8224 GB, free: 6.109 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.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.13697353284806]