Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.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.001693/0.001693, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002064/0.002064, allocations: 161.3 kB / 23.54 MB, free: 0.8672 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.509/1.509, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 2.96/2.96, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] 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.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.987e-05/3.152e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003862/0.003894, allocations: 1.974 MB / 0.8128 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.00558, allocations: 0.7078 MB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.005733, allocations: 9.531 kB / 0.8135 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.005898, allocations: 19.8 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.006035, allocations: 23.73 kB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.00651, allocations: 104.7 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000247/0.006757, allocations: 151.5 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.00695, allocations: 65.77 kB / 0.8138 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.007173, allocations: 89.48 kB / 0.8139 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.007278, allocations: 55.8 kB / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.007313, allocations: 16 kB / 0.814 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.007493, allocations: 63.83 kB / 0.814 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.00761, allocations: 75.73 kB / 0.8141 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.12e-05/0.007691, allocations: 53.38 kB / 0.8141 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.008133, allocations: 279 kB / 0.8144 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.008137, allocations: 0 / 0.8144 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.082e-06/0.008138, allocations: 0 / 0.8144 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.008145, allocations: 1.75 kB / 0.8144 GB, free: 14.42 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0009873/0.009132, allocations: 492.9 kB / 0.8149 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.009172, allocations: 9.219 kB / 0.8149 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002311/0.01148, allocations: 0.6586 MB / 0.8155 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.012, allocations: 272.9 kB / 0.8158 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.01216, allocations: 135.6 kB / 0.8159 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.0122, allocations: 12.38 kB / 0.8159 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.01348, allocations: 452.3 kB / 0.8164 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.01349, allocations: 4.188 kB / 0.8164 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.01352, allocations: 8.125 kB / 0.8164 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.01353, allocations: 4 kB / 0.8164 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.01513, allocations: 0.6486 MB / 0.817 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.01717, allocations: 0.9872 MB / 0.818 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008494/0.01802, allocations: 341.9 kB / 0.8183 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000764/0.01878, allocations: 330.2 kB / 0.8186 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.0188, allocations: 4 kB / 0.8186 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.01884, allocations: 34.5 kB / 0.8187 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.01884, allocations: 0 / 0.8187 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.002469/0.02131, allocations: 0.9746 MB / 0.8196 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.02136, allocations: 55.41 kB / 0.8197 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003914/0.02175, allocations: 289.9 kB / 0.8199 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.02179, allocations: 33.7 kB / 0.82 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.02193, allocations: 151.9 kB / 0.8201 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/0.02198, allocations: 31.92 kB / 0.8201 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.02211, allocations: 69.64 kB / 0.8202 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.0223, allocations: 330.8 kB / 0.8205 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000762/0.02306, allocations: 307.6 kB / 0.8208 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007575/0.02382, allocations: 323.9 kB / 0.8211 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.02516, allocations: 0.5275 MB / 0.8216 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.02516, allocations: 0 / 0.8216 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00163/0.0268, allocations: 0.6725 MB / 0.8223 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.02681, allocations: 8 kB / 0.8223 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.02682, allocations: 0 / 0.8223 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.02684, allocations: 0 / 0.8223 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.02734, allocations: 167.7 kB / 0.8225 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.02735, allocations: 0 / 0.8225 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/0.02776, allocations: 119.7 kB / 0.8226 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/0.02794, allocations: 139.7 kB / 0.8227 GB, free: 5.758 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001805/0.02812, allocations: 141.8 kB / 0.8228 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.66e-05/0.02821, allocations: 31.8 kB / 0.8229 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.02825, allocations: 21.77 kB / 0.8229 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.02825, allocations: 0 / 0.8229 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.02826, allocations: 0 / 0.8229 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.02826, allocations: 4 kB / 0.8229 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007664/0.02903, allocations: 367.9 kB / 0.8233 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.02903, allocations: 0 / 0.8233 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004756/0.02951, allocations: 163.7 kB / 0.8234 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.02951, allocations: 0 / 0.8234 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/0.02956, allocations: 27.89 kB / 0.8234 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.02956, allocations: 4 kB / 0.8234 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.02956, allocations: 3.938 kB / 0.8234 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.03125, allocations: 0.7564 MB / 0.8242 GB, free: 4.195 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.0313, allocations: 31.84 kB / 0.8242 GB, free: 4.164 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.03134, allocations: 7.938 kB / 0.8242 GB, free: 4.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/0.03177, allocations: 107.8 kB / 0.8243 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/0.03183, allocations: 11.98 kB / 0.8243 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/0.032, allocations: 135.8 kB / 0.8245 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002507/0.03225, allocations: 221.1 kB / 0.8247 GB, free: 3.695 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.03225, allocations: 0 / 0.8247 GB, free: 3.695 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003315/0.03258, allocations: 43.89 kB / 0.8247 GB, free: 3.652 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: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001863/0.03277, allocations: 103.2 kB / 0.8248 GB, free: 3.543 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.03439, allocations: 0.6437 MB / 0.8254 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.0344, allocations: 4 kB / 0.8254 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000817/0.03521, allocations: 343.5 kB / 0.8258 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.03555, allocations: 42.33 kB / 0.8258 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.03716, allocations: 0.6496 MB / 0.8264 GB, free: 1.848 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.03735, allocations: 144.7 kB / 0.8266 GB, free: 1.68 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0006528/0.038, allocations: 384.8 kB / 0.827 GB, free: 1.305 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.03817, allocations: 64.42 kB / 0.827 GB, free: 1.242 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.03817, allocations: 0 / 0.827 GB, free: 1.242 MB / 0.7761 GB Notification: Performance of Templates: time 0.007467/0.04564, allocations: 2.942 MB / 0.8299 GB, free: 14.31 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.866346199996769]