Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 105.3 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.315/2.315, allocations: 390.2 MB / 0.6653 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 70.92 kB / 0.8132 GB, free: 32.91 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3298, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.004043/0.3339, allocations: 1.986 MB / 0.9522 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.3354, allocations: 0.6904 MB / 0.9529 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.3356, allocations: 4 kB / 0.9529 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.3358, allocations: 19.8 kB / 0.9529 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.3359, allocations: 19.75 kB / 0.9529 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.3363, allocations: 87.77 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000181/0.3365, allocations: 143.6 kB / 0.9532 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.3367, allocations: 84.59 kB / 0.9532 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.3369, allocations: 67.66 kB / 0.9533 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.337, allocations: 71.67 kB / 0.9534 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.175e-05/0.337, allocations: 20 kB / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.3372, allocations: 59.95 kB / 0.9534 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.459e-05/0.3373, allocations: 67.75 kB / 0.9535 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.653e-05/0.3374, allocations: 99.34 kB / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.3377, allocations: 255.4 kB / 0.9538 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3377, allocations: 0 / 0.9538 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3377, allocations: 0 / 0.9538 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.3377, allocations: 0 / 0.9538 GB, free: 5.191 MB / 0.7325 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.0008614/0.3386, allocations: 0.5374 MB / 0.9544 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3387, allocations: 8.031 kB / 0.9544 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.3404, allocations: 423.9 kB / 0.9548 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004536/0.3409, allocations: 311.7 kB / 0.9551 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.341, allocations: 68.19 kB / 0.9551 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.341, allocations: 12.38 kB / 0.9552 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008574/0.3419, allocations: 387.3 kB / 0.9555 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3419, allocations: 4 kB / 0.9555 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.342, allocations: 4 kB / 0.9555 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.342, allocations: 4 kB / 0.9555 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.3432, allocations: 0.5392 MB / 0.9561 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.345, allocations: 1.005 MB / 0.957 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006922/0.3458, allocations: 298.2 kB / 0.9573 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006275/0.3464, allocations: 272.6 kB / 0.9576 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.3464, allocations: 0 / 0.9576 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.3465, allocations: 42.48 kB / 0.9576 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.3465, allocations: 0 / 0.9576 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.002002/0.3485, allocations: 0.7898 MB / 0.9584 GB, free: 344 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.3485, allocations: 51.41 kB / 0.9585 GB, free: 280 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.3489, allocations: 298.7 kB / 0.9587 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.3489, allocations: 25.7 kB / 0.9588 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.3491, allocations: 152.2 kB / 0.9589 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.3491, allocations: 15.66 kB / 0.9589 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.3492, allocations: 41.67 kB / 0.959 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3494, allocations: 342.8 kB / 0.9593 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006237/0.35, allocations: 259.8 kB / 0.9595 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005902/0.3506, allocations: 251.8 kB / 0.9598 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.3517, allocations: 444.3 kB / 0.9602 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3517, allocations: 0 / 0.9602 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0013/0.353, allocations: 0.536 MB / 0.9607 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.3531, allocations: 4 kB / 0.9607 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3531, allocations: 3.938 kB / 0.9607 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3531, allocations: 0 / 0.9607 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.3535, allocations: 95.83 kB / 0.9608 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3535, allocations: 0 / 0.9608 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.3539, allocations: 75.86 kB / 0.9609 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.3539, allocations: 7.984 kB / 0.9609 GB, free: 13.72 MB / 0.7481 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.0001829/0.3541, allocations: 145.7 kB / 0.961 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.48e-05/0.3542, allocations: 19.72 kB / 0.9611 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/0.3542, allocations: 25.7 kB / 0.9611 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3542, allocations: 4 kB / 0.9611 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3542, allocations: 0 / 0.9611 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3542, allocations: 0 / 0.9611 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005107/0.3548, allocations: 432.4 kB / 0.9615 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3548, allocations: 0 / 0.9615 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.3552, allocations: 99.83 kB / 0.9616 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.393e-06/0.3552, allocations: 7.969 kB / 0.9616 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.3552, allocations: 3.984 kB / 0.9616 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3552, allocations: 4 kB / 0.9616 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3552, allocations: 0 / 0.9616 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.3566, allocations: 0.6359 MB / 0.9622 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-05/0.3567, allocations: 96.91 kB / 0.9623 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.3567, allocations: 0 / 0.9623 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.3571, allocations: 79.86 kB / 0.9624 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.3571, allocations: 3.938 kB / 0.9624 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.3572, allocations: 7.984 kB / 0.9624 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002361/0.3574, allocations: 221.9 kB / 0.9626 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3574, allocations: 0 / 0.9626 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003214/0.3578, allocations: 47.84 kB / 0.9627 GB, free: 11.82 MB / 0.7481 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.0002011/0.358, allocations: 107.2 kB / 0.9628 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001307/0.3593, allocations: 0.5229 MB / 0.9633 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3593, allocations: 4 kB / 0.9633 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006674/0.36, allocations: 279.9 kB / 0.9636 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.3603, allocations: 16.5 kB / 0.9636 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.3617, allocations: 0.6278 MB / 0.9642 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.3621, allocations: 0.763 MB / 0.9649 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.3623, allocations: 35.39 kB / 0.965 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of SimCode: time 6.21e-07/0.3623, allocations: 0 / 0.965 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of Templates: time 0.007174/0.3695, allocations: 3.648 MB / 0.9685 GB, free: 5.754 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches