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.007275/0.007275, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001361/0.001361, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.278/2.278, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 67.89 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8884/0.8899, allocations: 140.4 MB / 1.088 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003044/0.893, allocations: 1.982 MB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.8942, allocations: 0.6853 MB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.8943, allocations: 6.656 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.8945, allocations: 17.53 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.608e-05/0.8945, allocations: 34.42 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.8949, allocations: 80.23 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.8951, allocations: 152.7 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.8953, allocations: 91.56 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.8954, allocations: 54.89 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.8955, allocations: 73.7 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.8956, allocations: 14.84 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.8958, allocations: 63.33 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.603e-05/0.8959, allocations: 68.33 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.567e-05/0.8959, allocations: 95.7 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000377/0.8963, allocations: 273 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8963, allocations: 0.7969 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8963, allocations: 0 / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.8964, allocations: 0.875 kB / 1.092 GB, free: 3.402 MB / 0.8575 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.0007648/0.8971, allocations: 0.5399 MB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.8972, allocations: 9.562 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.8991, allocations: 432.2 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.8995, allocations: 309.4 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.898e-05/0.8996, allocations: 73.44 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.8996, allocations: 9.078 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009489/0.9006, allocations: 389 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.9006, allocations: 4.656 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.9006, allocations: 4.812 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.9006, allocations: 3.062 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.902, allocations: 0.5355 MB / 1.094 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.9038, allocations: 0.998 MB / 1.095 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000765/0.9046, allocations: 296 kB / 1.095 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006964/0.9053, allocations: 278.7 kB / 1.095 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.9054, allocations: 1 kB / 1.095 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.9054, allocations: 32.44 kB / 1.095 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.9054, allocations: 3.938 kB / 1.095 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.002152/0.9075, allocations: 0.7844 MB / 1.096 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.9076, allocations: 56.41 kB / 1.096 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.9079, allocations: 298 kB / 1.096 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.9079, allocations: 26.83 kB / 1.096 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.36e-05/0.908, allocations: 158.3 kB / 1.097 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.9081, allocations: 28.02 kB / 1.097 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.23e-05/0.9082, allocations: 36.38 kB / 1.097 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.24e-05/0.9082, allocations: 343.8 kB / 1.097 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006848/0.9089, allocations: 255.3 kB / 1.097 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006508/0.9096, allocations: 260.1 kB / 1.097 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.9108, allocations: 439.2 kB / 1.098 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.9108, allocations: 4 kB / 1.098 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001362/0.9121, allocations: 0.5341 MB / 1.098 GB, free: 368 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.9122, allocations: 10.59 kB / 1.098 GB, free: 364 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.9122, allocations: 0 / 1.098 GB, free: 364 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.9122, allocations: 1.703 kB / 1.098 GB, free: 364 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.9127, allocations: 92.31 kB / 1.099 GB, free: 360 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.9127, allocations: 0 / 1.099 GB, free: 360 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/0.913, allocations: 74.05 kB / 1.099 GB, free: 356 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.9131, allocations: 8.281 kB / 1.099 GB, free: 356 kB / 0.8575 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.0001412/0.9132, allocations: 147.8 kB / 1.099 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.9133, allocations: 20.73 kB / 1.099 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.9134, allocations: 25.28 kB / 1.099 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.9134, allocations: 1.156 kB / 1.099 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.9134, allocations: 0.6562 kB / 1.099 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9134, allocations: 0.5938 kB / 1.099 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005284/0.9139, allocations: 436.6 kB / 1.099 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.9139, allocations: 1.422 kB / 1.099 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.9144, allocations: 96.33 kB / 1.099 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.9144, allocations: 0.8438 kB / 1.099 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/0.9144, allocations: 11.8 kB / 1.099 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.9144, allocations: 0.75 kB / 1.099 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.9144, allocations: 0 / 1.099 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.9164, allocations: 0.6338 MB / 1.1 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.9167, allocations: 102.4 kB / 1.1 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.9167, allocations: 1.578 kB / 1.1 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004256/0.9172, allocations: 73.45 kB / 1.1 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.9172, allocations: 9.375 kB / 1.1 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.9173, allocations: 8.5 kB / 1.1 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004172/0.9177, allocations: 221.2 kB / 1.1 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9177, allocations: 0.5 kB / 1.1 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004388/0.9182, allocations: 45.7 kB / 1.1 GB, free: 15.41 MB / 0.8731 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.0002847/0.9185, allocations: 105.9 kB / 1.1 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001598/0.9201, allocations: 0.528 MB / 1.101 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.9201, allocations: 1.25 kB / 1.101 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008052/0.9209, allocations: 278.3 kB / 1.101 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.9213, allocations: 18.45 kB / 1.101 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.9228, allocations: 0.5889 MB / 1.102 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.9232, allocations: 0.7532 MB / 1.103 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002018/0.9234, allocations: 53.39 kB / 1.103 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.9235, allocations: 31.34 kB / 1.103 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of SimCode: time 5.81e-07/0.9236, allocations: 0 / 1.103 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of Templates: time 0.008477/0.932, allocations: 2.862 MB / 1.105 GB, free: 13.88 MB / 0.8731 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/jenkins/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