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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_10_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.001599/0.001599, allocations: 108 kB / 16.41 MB, free: 6.027 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.001816/0.001816, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.367/2.367, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 67.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.892/0.8935, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003708/0.8972, allocations: 1.981 MB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.8987, allocations: 0.6943 MB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.899, allocations: 0 / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.8992, allocations: 23.73 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.8994, allocations: 27.8 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.8998, allocations: 87.78 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.9001, allocations: 143.7 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.9003, allocations: 80.59 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.9005, allocations: 67.66 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.9006, allocations: 71.67 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.9007, allocations: 12 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.9008, allocations: 59.95 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.901, allocations: 75.69 kB / 1.171 GB, free: 496 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.723e-05/0.9011, allocations: 87.41 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003939/0.9015, allocations: 270.8 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.9015, allocations: 0 / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9015, allocations: 0 / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.9015, allocations: 0 / 1.171 GB, free: 140 kB / 0.8887 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.0009954/0.9025, allocations: 0.5354 MB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.9026, allocations: 12.92 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.9043, allocations: 431.8 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004611/0.9048, allocations: 307.8 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.824e-05/0.9049, allocations: 72.12 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.9049, allocations: 12.38 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008459/0.9058, allocations: 387 kB / 1.173 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.9058, allocations: 3.938 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.9059, allocations: 8 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.9059, allocations: 0 / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.9071, allocations: 0.5386 MB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.9088, allocations: 1.013 MB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006388/0.9094, allocations: 286.3 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005957/0.9101, allocations: 280.6 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.9101, allocations: 0 / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.9101, allocations: 30.56 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.9101, allocations: 0 / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.001847/0.912, allocations: 0.7896 MB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.912, allocations: 51.41 kB / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.9123, allocations: 294.7 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.9124, allocations: 29.7 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.9125, allocations: 160.2 kB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.9125, allocations: 23.66 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/0.9126, allocations: 37.67 kB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.9127, allocations: 338.8 kB / 1.176 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005745/0.9133, allocations: 255.8 kB / 1.177 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.9139, allocations: 255.8 kB / 1.177 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.9149, allocations: 448.3 kB / 1.177 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.915, allocations: 0 / 1.177 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001237/0.9162, allocations: 0.5283 MB / 1.178 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.9162, allocations: 8 kB / 1.178 GB, free: 8.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.9162, allocations: 0 / 1.178 GB, free: 8.844 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.9163, allocations: 0 / 1.178 GB, free: 8.844 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.9167, allocations: 91.83 kB / 1.178 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.9167, allocations: 0 / 1.178 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.917, allocations: 83.77 kB / 1.178 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.917, allocations: 7.984 kB / 1.178 GB, free: 8.664 MB / 0.9044 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.000158/0.9172, allocations: 141.7 kB / 1.178 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.9173, allocations: 27.8 kB / 1.178 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.055e-05/0.9173, allocations: 25.66 kB / 1.178 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.9173, allocations: 0 / 1.178 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.9174, allocations: 0 / 1.178 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.9174, allocations: 3.984 kB / 1.178 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.9178, allocations: 440.2 kB / 1.179 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.9178, allocations: 0 / 1.179 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/0.9182, allocations: 99.77 kB / 1.179 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.9182, allocations: 0 / 1.179 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.9183, allocations: 3.984 kB / 1.179 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.9183, allocations: 4 kB / 1.179 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.9183, allocations: 4.547 kB / 1.179 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.9195, allocations: 0.6316 MB / 1.179 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-05/0.9196, allocations: 104.8 kB / 1.179 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.9197, allocations: 3.938 kB / 1.179 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.92, allocations: 75.86 kB / 1.179 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.9201, allocations: 4 kB / 1.179 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.9201, allocations: 11.97 kB / 1.179 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002082/0.9203, allocations: 213.9 kB / 1.18 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9203, allocations: 4 kB / 1.18 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003091/0.9206, allocations: 39.91 kB / 1.18 GB, free: 6.758 MB / 0.9044 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.000176/0.9208, allocations: 111.2 kB / 1.18 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.9221, allocations: 0.5229 MB / 1.18 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9221, allocations: 0 / 1.18 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005956/0.9227, allocations: 275.7 kB / 1.181 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.923, allocations: 19.41 kB / 1.181 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.9243, allocations: 0.624 MB / 1.181 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.9246, allocations: 0.7435 MB / 1.182 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.9247, allocations: 39.39 kB / 1.182 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of SimCode: time 4.61e-07/0.9247, allocations: 0 / 1.182 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of Templates: time 0.00587/0.9306, allocations: 3.674 MB / 1.186 GB, free: 0.6836 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches