Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001333/0.001333, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001528/0.001528, allocations: 173 kB / 23.36 MB, free: 1.133 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.05/1.05, allocations: 177.1 MB / 203.8 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.622/2.622, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/3.281e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003907/0.00394, allocations: 2.061 MB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.00509, allocations: 0.736 MB / 0.8414 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.36e-05/0.005183, allocations: 7.938 kB / 0.8414 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.005309, allocations: 15.8 kB / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.00543, allocations: 23.75 kB / 0.8414 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.005806, allocations: 107.7 kB / 0.8415 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.005953, allocations: 151.6 kB / 0.8417 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.006083, allocations: 62.2 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.006238, allocations: 91.8 kB / 0.8418 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.15e-05/0.006309, allocations: 51.8 kB / 0.8419 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.006332, allocations: 15.94 kB / 0.8419 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.006479, allocations: 63.94 kB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.762e-05/0.006557, allocations: 71.75 kB / 0.842 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.006608, allocations: 55.83 kB / 0.8421 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.006823, allocations: 187.2 kB / 0.8422 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.006826, allocations: 7.938 kB / 0.8422 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.193e-06/0.006827, allocations: 0 / 0.8422 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.006831, allocations: 0 / 0.8422 GB, free: 10.48 MB / 0.8073 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.0004837/0.007315, allocations: 459.5 kB / 0.8427 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.007347, allocations: 8.625 kB / 0.8427 GB, free: 10 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000642/0.007989, allocations: 352.3 kB / 0.843 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.00823, allocations: 228.7 kB / 0.8432 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.57e-05/0.008315, allocations: 131.6 kB / 0.8434 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.292e-05/0.008388, allocations: 12.38 kB / 0.8434 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.008713, allocations: 284.5 kB / 0.8436 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.00872, allocations: 4.172 kB / 0.8437 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.008736, allocations: 8.125 kB / 0.8437 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.008741, allocations: 4 kB / 0.8437 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.008932, allocations: 193.3 kB / 0.8438 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007958/0.009727, allocations: 0.7072 MB / 0.8445 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.009948, allocations: 166.4 kB / 0.8447 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.7e-05/0.01005, allocations: 108.8 kB / 0.8448 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.01006, allocations: 0 / 0.8448 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.01008, allocations: 38.55 kB / 0.8448 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.01008, allocations: 0 / 0.8448 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0004574/0.01054, allocations: 301.4 kB / 0.8451 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.01056, allocations: 51.41 kB / 0.8452 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.0107, allocations: 233.2 kB / 0.8454 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.01071, allocations: 25.7 kB / 0.8454 GB, free: 7.066 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.01077, allocations: 136.4 kB / 0.8455 GB, free: 6.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.01079, allocations: 27.78 kB / 0.8456 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/0.01086, allocations: 73.52 kB / 0.8456 GB, free: 6.824 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.798e-05/0.01094, allocations: 330.8 kB / 0.846 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.01105, allocations: 119.9 kB / 0.8461 GB, free: 6.375 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.01116, allocations: 133.5 kB / 0.8462 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.01135, allocations: 205.5 kB / 0.8464 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01136, allocations: 4 kB / 0.8464 GB, free: 6.027 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002573/0.01161, allocations: 269.3 kB / 0.8467 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.01163, allocations: 4 kB / 0.8467 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01163, allocations: 3.938 kB / 0.8467 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.176e-06/0.01164, allocations: 4.031 kB / 0.8467 GB, free: 5.746 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.01184, allocations: 139.7 kB / 0.8468 GB, free: 5.609 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.01184, allocations: 0 / 0.8468 GB, free: 5.609 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-05/0.01194, allocations: 67.86 kB / 0.8469 GB, free: 5.543 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.652e-05/0.01204, allocations: 139.7 kB / 0.847 GB, free: 5.406 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 7.943e-05/0.01212, allocations: 116.6 kB / 0.8471 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.01215, allocations: 11.98 kB / 0.8471 GB, free: 5.27 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.01218, allocations: 29.7 kB / 0.8472 GB, free: 5.246 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01218, allocations: 0 / 0.8472 GB, free: 5.246 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01218, allocations: 4 kB / 0.8472 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.01219, allocations: 0 / 0.8472 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.01243, allocations: 261.6 kB / 0.8474 GB, free: 4.969 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01243, allocations: 0 / 0.8474 GB, free: 4.969 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.01258, allocations: 131.7 kB / 0.8475 GB, free: 4.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.01259, allocations: 7.984 kB / 0.8475 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.01261, allocations: 15.97 kB / 0.8476 GB, free: 4.816 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01261, allocations: 0 / 0.8476 GB, free: 4.816 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.01261, allocations: 11.94 kB / 0.8476 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.01289, allocations: 355.2 kB / 0.8479 GB, free: 4.441 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.01291, allocations: 19.86 kB / 0.8479 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.01294, allocations: 7.984 kB / 0.8479 GB, free: 4.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.01305, allocations: 71.86 kB / 0.848 GB, free: 4.344 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.01309, allocations: 7.922 kB / 0.848 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.186e-05/0.01318, allocations: 135.7 kB / 0.8481 GB, free: 4.203 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.01324, allocations: 82.77 kB / 0.8482 GB, free: 4.121 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01324, allocations: 0 / 0.8482 GB, free: 4.121 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001812/0.01342, allocations: 43.89 kB / 0.8483 GB, free: 4.078 MB / 0.8073 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.000123/0.01355, allocations: 88.36 kB / 0.8483 GB, free: 3.98 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004963/0.01404, allocations: 281.1 kB / 0.8486 GB, free: 3.703 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.01405, allocations: 0 / 0.8486 GB, free: 3.703 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.01418, allocations: 160.7 kB / 0.8488 GB, free: 3.543 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.01436, allocations: 38.28 kB / 0.8488 GB, free: 3.508 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006598/0.01502, allocations: 476.2 kB / 0.8493 GB, free: 3.02 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.059e-05/0.01507, allocations: 87.81 kB / 0.8493 GB, free: 2.914 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003182/0.01539, allocations: 376.8 kB / 0.8497 GB, free: 2.543 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.01553, allocations: 111.3 kB / 0.8498 GB, free: 2.434 MB / 0.8073 GB Notification: Performance of SimCode: time 7.21e-07/0.01553, allocations: 0 / 0.8498 GB, free: 2.434 MB / 0.8073 GB Notification: Performance of Templates: time 0.004903/0.02044, allocations: 3.422 MB / 0.8531 GB, free: 15.05 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.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.689136818051338]