Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.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.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.00114/0.00114, allocations: 186.1 kB / 17.35 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.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.155/2.155, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.89 kB / 0.9516 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8027/0.804, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002516/0.8066, allocations: 1.572 MB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008754/0.8075, allocations: 0.5917 MB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.8075, allocations: 1.156 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.563e-05/0.8076, allocations: 4.828 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.024e-05/0.8077, allocations: 10.95 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.8079, allocations: 51.77 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.21e-05/0.808, allocations: 46.61 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.304e-05/0.8081, allocations: 17.53 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.318e-05/0.8082, allocations: 32.39 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.867e-05/0.8083, allocations: 19.69 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.8083, allocations: 3.531 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.8085, allocations: 53.16 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.609e-05/0.8085, allocations: 19.98 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.8086, allocations: 32.8 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.8088, allocations: 98.45 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8088, allocations: 3.938 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8088, allocations: 0 / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.8088, allocations: 3.938 kB / 1.091 GB, free: 3.844 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004408/0.8093, allocations: 391.1 kB / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.8093, allocations: 8 kB / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009481/0.8102, allocations: 212.6 kB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.8104, allocations: 188 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.8104, allocations: 32.11 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.8105, allocations: 6.375 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.8109, allocations: 173.8 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.8109, allocations: 0 / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.811, allocations: 0.625 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.811, allocations: 1.734 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006298/0.8116, allocations: 243 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008439/0.8125, allocations: 0.5136 MB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006026/0.8131, allocations: 236 kB / 1.093 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.8134, allocations: 120.1 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.8134, allocations: 4.609 kB / 1.093 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.8134, allocations: 35.28 kB / 1.093 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.814e-06/0.8134, allocations: 0 / 1.093 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.001071/0.8145, allocations: 368.9 kB / 1.094 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.829e-05/0.8145, allocations: 51.53 kB / 1.094 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.8147, allocations: 176.2 kB / 1.094 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.8147, allocations: 25.7 kB / 1.094 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.8148, allocations: 103.2 kB / 1.094 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.8148, allocations: 5.484 kB / 1.094 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.8149, allocations: 24.06 kB / 1.094 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.8149, allocations: 320.7 kB / 1.094 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.8152, allocations: 114.8 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.8155, allocations: 110 kB / 1.094 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005571/0.8161, allocations: 201.4 kB / 1.095 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.8161, allocations: 0.7969 kB / 1.095 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006636/0.8168, allocations: 259.3 kB / 1.095 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.8168, allocations: 10.88 kB / 1.095 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.8168, allocations: 0.6094 kB / 1.095 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.8168, allocations: 0.9062 kB / 1.095 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.8171, allocations: 43.2 kB / 1.095 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.8171, allocations: 0.9688 kB / 1.095 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.8173, allocations: 46.31 kB / 1.095 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.8173, allocations: 4.453 kB / 1.095 GB, free: 1.766 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.793e-05/0.8174, allocations: 113 kB / 1.095 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.8174, allocations: 13.23 kB / 1.095 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.8174, allocations: 15.89 kB / 1.095 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.8174, allocations: 0.9375 kB / 1.095 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.8175, allocations: 0.6094 kB / 1.095 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.8175, allocations: 88.95 kB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.8175, allocations: 5.438 kB / 1.095 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.8177, allocations: 33.28 kB / 1.095 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.8178, allocations: 7.594 kB / 1.095 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008273/0.8186, allocations: 358.6 kB / 1.096 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006989/0.8193, allocations: 437.1 kB / 1.096 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003144/0.8196, allocations: 116 kB / 1.096 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.898e-05/0.8197, allocations: 127.3 kB / 1.096 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of Backend: time 8.81e-07/0.8197, allocations: 0.5312 kB / 1.096 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00074/0.8205, allocations: 216.1 kB / 1.096 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004034/0.8209, allocations: 0.6317 MB / 1.097 GB, free: 340 kB / 0.8575 GB Notification: Performance of Templates: time 0.005881/0.8268, allocations: 2.295 MB / 1.099 GB, free: 152 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches