Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.001001/0.001001, allocations: 83.69 kB / 20.45 MB, free: 4.129 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.001044/0.001044, allocations: 161 kB / 23.82 MB, free: 0.7617 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 1.026/1.026, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.891/1.891, allocations: 377.9 MB / 0.6236 GB, free: 8.52 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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.766e-06/2.766e-06, allocations: 3.984 kB / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.644e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.004794/0.004821, allocations: 0.823 MB / 0.8124 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001217/0.004943, allocations: 38.28 kB / 0.8124 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.004992, allocations: 7.938 kB / 0.8124 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.005031, allocations: 11.86 kB / 0.8124 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.187e-05/0.005113, allocations: 11.88 kB / 0.8124 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.648e-05/0.005159, allocations: 19.97 kB / 0.8124 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.005262, allocations: 59.84 kB / 0.8125 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.005385, allocations: 27.97 kB / 0.8125 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.005487, allocations: 53.27 kB / 0.8126 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.878e-05/0.005526, allocations: 15.92 kB / 0.8126 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.005547, allocations: 4 kB / 0.8126 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.276e-06/0.005555, allocations: 4 kB / 0.8126 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.005574, allocations: 12.59 kB / 0.8126 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.005607, allocations: 24.44 kB / 0.8126 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.385e-05/0.005701, allocations: 35.83 kB / 0.8127 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.005704, allocations: 1.375 kB / 0.8127 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.202e-06/0.005705, allocations: 0 / 0.8127 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.00571, allocations: 4 kB / 0.8127 GB, free: 0.5859 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.0003899/0.0061, allocations: 409.4 kB / 0.8131 GB, free: 152 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.006142, allocations: 12.03 kB / 0.8131 GB, free: 140 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.00619, allocations: 12.89 kB / 0.8131 GB, free: 128 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.006355, allocations: 137.6 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.006366, allocations: 4.312 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.006382, allocations: 12.38 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.006525, allocations: 97.05 kB / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.006534, allocations: 4.125 kB / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.006544, allocations: 5.344 kB / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.006554, allocations: 8.125 kB / 0.8133 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.122e-05/0.006605, allocations: 27.92 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.008133, allocations: 0.7466 MB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.33e-05/0.008216, allocations: 265.6 kB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.008254, allocations: 134.9 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.008282, allocations: 121.1 kB / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.008323, allocations: 156.6 kB / 0.8147 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.008325, allocations: 0 / 0.8147 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.502e-05/0.00838, allocations: 33.66 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.008436, allocations: 174.5 kB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.008542, allocations: 201.9 kB / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.00855, allocations: 25.7 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.008615, allocations: 178.4 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.918e-06/0.008619, allocations: 4 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.008647, allocations: 28.36 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.008755, allocations: 0.4884 MB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.008767, allocations: 4.516 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.242e-05/0.008809, allocations: 77.5 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.093e-05/0.00887, allocations: 88.44 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.008875, allocations: 4.828 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001182/0.008993, allocations: 86.73 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.009006, allocations: 4.844 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.009012, allocations: 4 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.009024, allocations: 0.9062 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.571e-05/0.00908, allocations: 15.94 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.009087, allocations: 8.141 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.237e-05/0.009109, allocations: 9.531 kB / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.009114, allocations: 4 kB / 0.8161 GB, free: 12.76 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.675e-05/0.009201, allocations: 283.6 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.009247, allocations: 158.1 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.009285, allocations: 156.6 kB / 0.8167 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.283e-05/0.009338, allocations: 268.1 kB / 0.817 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.297e-05/0.009391, allocations: 275.1 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.638e-05/0.009448, allocations: 276 kB / 0.8175 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.009605, allocations: 0.5076 MB / 0.818 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3e-05/0.009635, allocations: 152.8 kB / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/0.009663, allocations: 144.9 kB / 0.8183 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.147e-05/0.009715, allocations: 264.1 kB / 0.8185 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-05/0.009771, allocations: 276 kB / 0.8188 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.405e-05/0.009825, allocations: 268.1 kB / 0.819 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.718e-05/0.009882, allocations: 272.5 kB / 0.8193 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.01, allocations: 447.9 kB / 0.8197 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.01005, allocations: 161.9 kB / 0.8199 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.258e-05/0.01011, allocations: 264.1 kB / 0.8201 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.138e-05/0.01016, allocations: 156.8 kB / 0.8203 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.01022, allocations: 269.5 kB / 0.8205 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.01025, allocations: 148.9 kB / 0.8207 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.9e-05/0.0103, allocations: 147.1 kB / 0.8208 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0103, allocations: 0.5 kB / 0.8208 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001876/0.01049, allocations: 13.11 kB / 0.8208 GB, free: 7.758 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.496e-05/0.01058, allocations: 214.4 kB / 0.821 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.003e-05/0.01066, allocations: 34.02 kB / 0.8211 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01067, allocations: 0 / 0.8211 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.01067, allocations: 4 kB / 0.8211 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.01184, allocations: 0.7072 MB / 0.8218 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.0122, allocations: 273.6 kB / 0.822 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.78e-05/0.01225, allocations: 64.45 kB / 0.8221 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.021e-05/0.01229, allocations: 11.88 kB / 0.8221 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.01232, allocations: 8.5 kB / 0.8221 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of SimCode: time 2.014e-06/0.01232, allocations: 0 / 0.8221 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of Templates: time 0.002111/0.01443, allocations: 321.2 kB / 0.8224 GB, free: 6.09 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.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.198904316872358]