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.001974/0.001974, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002136/0.002136, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.617/1.617, allocations: 177.1 MB / 203.9 MB, free: 5.598 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 3.091/3.091, allocations: 377.8 MB / 0.6232 GB, free: 8.527 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.293e-06/1.293e-06, allocations: 0 / 0.8108 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.458e-05, allocations: 7.688 kB / 0.8108 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003974/0.003999, allocations: 1.978 MB / 0.8128 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.005509, allocations: 0.7384 MB / 0.8135 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.616e-05/0.005605, allocations: 9.469 kB / 0.8135 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.00574, allocations: 15.8 kB / 0.8135 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.684e-05/0.005837, allocations: 31.67 kB / 0.8135 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.006247, allocations: 101.1 kB / 0.8136 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.006476, allocations: 151.5 kB / 0.8138 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.00664, allocations: 62.77 kB / 0.8138 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.006843, allocations: 87.73 kB / 0.8139 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.006944, allocations: 55.8 kB / 0.814 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.006982, allocations: 16 kB / 0.814 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.007155, allocations: 65.06 kB / 0.814 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.007267, allocations: 75.75 kB / 0.8141 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.86e-05/0.007355, allocations: 47.84 kB / 0.8142 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.007776, allocations: 284.8 kB / 0.8144 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.007778, allocations: 0 / 0.8144 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.72e-07/0.007779, allocations: 0 / 0.8144 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.007784, allocations: 0 / 0.8144 GB, free: 13.27 MB / 0.7292 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.0009368/0.008721, allocations: 0.5951 MB / 0.815 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.008754, allocations: 8.031 kB / 0.815 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/0.01047, allocations: 496 kB / 0.8155 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.01095, allocations: 252.6 kB / 0.8157 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.01111, allocations: 145.5 kB / 0.8159 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.01114, allocations: 8.375 kB / 0.8159 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007602/0.0119, allocations: 358.8 kB / 0.8162 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.01191, allocations: 2.625 kB / 0.8162 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.01194, allocations: 12.12 kB / 0.8162 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.01195, allocations: 3.984 kB / 0.8162 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.01299, allocations: 477.7 kB / 0.8167 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.01481, allocations: 0.981 MB / 0.8177 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/0.01541, allocations: 267.2 kB / 0.8179 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005025/0.01591, allocations: 235.5 kB / 0.8181 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.01593, allocations: 4 kB / 0.8181 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.01597, allocations: 37.33 kB / 0.8182 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/0.01597, allocations: 1.938 kB / 0.8182 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.001906/0.01788, allocations: 0.7074 MB / 0.8189 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.01792, allocations: 51.41 kB / 0.8189 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.01834, allocations: 340.3 kB / 0.8192 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.01837, allocations: 30.8 kB / 0.8193 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.01857, allocations: 214.6 kB / 0.8195 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.01861, allocations: 27.94 kB / 0.8195 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.01875, allocations: 76.11 kB / 0.8196 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000315/0.01906, allocations: 0.5157 MB / 0.8201 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/0.01957, allocations: 222.3 kB / 0.8203 GB, free: 7.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/0.02004, allocations: 217.6 kB / 0.8205 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008421/0.02088, allocations: 357.3 kB / 0.8208 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.02089, allocations: 1.844 kB / 0.8208 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001089/0.02198, allocations: 0.4893 MB / 0.8213 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.02199, allocations: 4 kB / 0.8213 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.022, allocations: 0 / 0.8213 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.02201, allocations: 4 kB / 0.8213 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.02241, allocations: 119.8 kB / 0.8214 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.02241, allocations: 4 kB / 0.8214 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.02266, allocations: 67.84 kB / 0.8215 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/0.02285, allocations: 143.7 kB / 0.8216 GB, free: 5.695 MB / 0.7292 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.0001679/0.02302, allocations: 168.6 kB / 0.8218 GB, free: 5.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.867e-05/0.02311, allocations: 27.8 kB / 0.8218 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.814e-05/0.02316, allocations: 21.77 kB / 0.8219 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.02316, allocations: 0 / 0.8219 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.02316, allocations: 0 / 0.8219 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.02316, allocations: 4 kB / 0.8219 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005424/0.02371, allocations: 387.7 kB / 0.8222 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.02371, allocations: 0 / 0.8222 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003717/0.02408, allocations: 123.8 kB / 0.8223 GB, free: 4.934 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.02408, allocations: 0 / 0.8223 GB, free: 4.934 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.02412, allocations: 23.91 kB / 0.8224 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.02412, allocations: 0 / 0.8224 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.02412, allocations: 0 / 0.8224 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.02534, allocations: 0.6361 MB / 0.823 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.02539, allocations: 19.86 kB / 0.823 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.02543, allocations: 7.938 kB / 0.823 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.02572, allocations: 67.84 kB / 0.8231 GB, free: 4.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.02577, allocations: 7.984 kB / 0.8231 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001851/0.02596, allocations: 139.7 kB / 0.8232 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002343/0.02619, allocations: 237 kB / 0.8234 GB, free: 3.785 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.02619, allocations: 0 / 0.8234 GB, free: 3.785 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002972/0.02649, allocations: 39.89 kB / 0.8235 GB, free: 3.746 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: 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.0001833/0.02667, allocations: 107.2 kB / 0.8236 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.02776, allocations: 487.2 kB / 0.824 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02776, allocations: 0 / 0.824 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005637/0.02832, allocations: 267.4 kB / 0.8243 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.02863, allocations: 39.22 kB / 0.8243 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.02979, allocations: 0.5536 MB / 0.8249 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.02996, allocations: 140.7 kB / 0.825 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0008312/0.03079, allocations: 376.8 kB / 0.8254 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.03096, allocations: 64.42 kB / 0.8254 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.03096, allocations: 0 / 0.8254 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of Templates: time 0.007601/0.03856, allocations: 2.957 MB / 0.8283 GB, free: 14.75 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 240] 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: 8.329563350998797]