Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 109.8 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 193.2 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.657/2.657, allocations: 437.1 MB / 0.7177 GB, free: 4.844 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 63.91 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3172, allocations: 151.6 MB / 1.176 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003463/0.3207, allocations: 1.98 MB / 1.178 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.322, allocations: 0.6982 MB / 1.178 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.3221, allocations: 0 / 1.178 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.3223, allocations: 23.73 kB / 1.178 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.887e-05/0.3224, allocations: 23.73 kB / 1.179 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.3228, allocations: 83.84 kB / 1.179 GB, free: 3.035 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.323, allocations: 147.6 kB / 1.179 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.3232, allocations: 88.52 kB / 1.179 GB, free: 2.805 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.3233, allocations: 63.72 kB / 1.179 GB, free: 2.742 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.3235, allocations: 75.62 kB / 1.179 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.3235, allocations: 12 kB / 1.179 GB, free: 2.656 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.3237, allocations: 63.95 kB / 1.179 GB, free: 2.594 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.3238, allocations: 71.75 kB / 1.179 GB, free: 2.523 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.962e-05/0.3239, allocations: 87.41 kB / 1.179 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.3243, allocations: 266.8 kB / 1.179 GB, free: 2.176 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3243, allocations: 3.984 kB / 1.179 GB, free: 2.172 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3243, allocations: 0 / 1.179 GB, free: 2.172 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.3243, allocations: 0 / 1.179 GB, free: 2.172 MB / 0.92 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.0008991/0.3252, allocations: 0.5474 MB / 1.18 GB, free: 1.578 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3253, allocations: 8.031 kB / 1.18 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.327, allocations: 424 kB / 1.18 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.3274, allocations: 316 kB / 1.181 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-05/0.3275, allocations: 72.17 kB / 1.181 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.3276, allocations: 12.38 kB / 1.181 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008533/0.3284, allocations: 388.4 kB / 1.181 GB, free: 344 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3285, allocations: 0 / 1.181 GB, free: 344 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.3285, allocations: 8 kB / 1.181 GB, free: 336 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3285, allocations: 0 / 1.181 GB, free: 336 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.3298, allocations: 0.5463 MB / 1.182 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.3316, allocations: 1.001 MB / 1.183 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007004/0.3323, allocations: 294.2 kB / 1.183 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006287/0.3329, allocations: 272.6 kB / 1.183 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.3329, allocations: 4 kB / 1.183 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.333, allocations: 34.56 kB / 1.183 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 3.216e-06/0.333, allocations: 3.984 kB / 1.183 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.002008/0.335, allocations: 0.7783 MB / 1.184 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.3351, allocations: 63.39 kB / 1.184 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.3354, allocations: 294.6 kB / 1.184 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.3354, allocations: 29.7 kB / 1.184 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.3356, allocations: 156.2 kB / 1.185 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.3356, allocations: 31.72 kB / 1.185 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.356e-05/0.3357, allocations: 37.67 kB / 1.185 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3359, allocations: 330.8 kB / 1.185 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006295/0.3365, allocations: 259.8 kB / 1.185 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006189/0.3371, allocations: 263.7 kB / 1.185 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.3383, allocations: 436.4 kB / 1.186 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3383, allocations: 0 / 1.186 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001311/0.3396, allocations: 0.5362 MB / 1.186 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3396, allocations: 4 kB / 1.186 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3396, allocations: 3.984 kB / 1.186 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3397, allocations: 0 / 1.186 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.3401, allocations: 95.77 kB / 1.186 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3401, allocations: 4 kB / 1.186 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.3404, allocations: 75.83 kB / 1.187 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.3404, allocations: 7.984 kB / 1.187 GB, free: 10.68 MB / 0.9356 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.0001596/0.3406, allocations: 145.8 kB / 1.187 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.3407, allocations: 27.8 kB / 1.187 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.669e-05/0.3407, allocations: 25.7 kB / 1.187 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3407, allocations: 0 / 1.187 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3407, allocations: 0 / 1.187 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3407, allocations: 4 kB / 1.187 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.3413, allocations: 432.3 kB / 1.187 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3413, allocations: 0 / 1.187 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/0.3417, allocations: 87.83 kB / 1.187 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.3417, allocations: 8 kB / 1.187 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.3418, allocations: 7.984 kB / 1.187 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3418, allocations: 0 / 1.187 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3418, allocations: 0 / 1.187 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.3431, allocations: 0.6394 MB / 1.188 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.58e-05/0.3432, allocations: 101 kB / 1.188 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.3433, allocations: 7.984 kB / 1.188 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.3436, allocations: 67.88 kB / 1.188 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.3437, allocations: 11.98 kB / 1.188 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.3437, allocations: 7.984 kB / 1.188 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002382/0.344, allocations: 217.9 kB / 1.188 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.344, allocations: 0 / 1.188 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003012/0.3443, allocations: 39.89 kB / 1.188 GB, free: 8.781 MB / 0.9356 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.0001943/0.3445, allocations: 111.2 kB / 1.188 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.3458, allocations: 0.5268 MB / 1.189 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3459, allocations: 0 / 1.189 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006537/0.3465, allocations: 272.5 kB / 1.189 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3468, allocations: 20.44 kB / 1.189 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.3481, allocations: 0.6351 MB / 1.19 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.3485, allocations: 0.7474 MB / 1.191 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.3486, allocations: 35.38 kB / 1.191 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.3486, allocations: 0 / 1.191 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of Templates: time 0.005997/0.3546, allocations: 3.674 MB / 1.194 GB, free: 2.699 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.3119622010272]