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.008668/0.008668, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001932/0.001932, allocations: 201.4 kB / 16.68 MB, free: 5.969 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.207 MB / 190.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.357/2.357, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 62.84 kB / 0.9509 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2523, allocations: 140.4 MB / 1.088 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002434/0.2548, allocations: 1.579 MB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009306/0.2558, allocations: 0.5905 MB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.171e-05/0.2558, allocations: 4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.2559, allocations: 3.938 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.872e-05/0.2559, allocations: 15.92 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.2562, allocations: 51.81 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.721e-05/0.2563, allocations: 47.84 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.718e-05/0.2564, allocations: 15.98 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.271e-05/0.2565, allocations: 19.92 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.086e-05/0.2566, allocations: 27.84 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.2566, allocations: 8 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.2567, allocations: 55.89 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.2568, allocations: 27.91 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.2568, allocations: 23.81 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.257, allocations: 95.61 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.257, allocations: 3.938 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.223e-06/0.257, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2571, allocations: 0 / 1.09 GB, free: 14.95 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.0005176/0.2576, allocations: 402.9 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.2576, allocations: 12.03 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009348/0.2586, allocations: 204.5 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.2587, allocations: 190.5 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.648e-05/0.2588, allocations: 38.27 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.2588, allocations: 7.875 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/0.2592, allocations: 169.5 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.2593, allocations: 3.984 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.2593, allocations: 4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.2593, allocations: 8 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006171/0.2599, allocations: 227.8 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008492/0.2608, allocations: 0.5114 MB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006089/0.2614, allocations: 242.3 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.2617, allocations: 120.8 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.2617, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.2618, allocations: 38.5 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2618, allocations: 0 / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.001019/0.2628, allocations: 373.3 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.2629, allocations: 51.41 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.263, allocations: 166.8 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.263, allocations: 25.7 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.2631, allocations: 108.1 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.2631, allocations: 3.953 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.2632, allocations: 17.7 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2633, allocations: 326.9 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.2636, allocations: 107.9 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.2639, allocations: 119.9 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005447/0.2645, allocations: 196.7 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2645, allocations: 3.938 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006486/0.2652, allocations: 261.3 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2652, allocations: 4 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2652, allocations: 0 / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.2652, allocations: 0 / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.2654, allocations: 47.95 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2654, allocations: 3.938 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.2656, allocations: 39.88 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.2656, allocations: 4 kB / 1.094 GB, free: 10.75 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 9.259e-05/0.2657, allocations: 121.8 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.2658, allocations: 7.953 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.2658, allocations: 15.88 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.2658, allocations: 0 / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.2658, allocations: 7.922 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2659, allocations: 0 / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.2662, allocations: 241.6 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2662, allocations: 0 / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.2664, allocations: 47.91 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.2664, allocations: 0 / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.2664, allocations: 11.98 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2664, allocations: 0 / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2664, allocations: 3.938 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000714/0.2671, allocations: 355.2 kB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.2672, allocations: 85.06 kB / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.2672, allocations: 0 / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.2675, allocations: 35.97 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.2675, allocations: 3.938 kB / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.2675, allocations: 7.984 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001258/0.2676, allocations: 135.6 kB / 1.095 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2677, allocations: 3.938 kB / 1.095 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002614/0.2679, allocations: 16 kB / 1.095 GB, free: 9.586 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001426/0.2681, allocations: 99.78 kB / 1.095 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006506/0.2687, allocations: 235.7 kB / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.2687, allocations: 4.062 kB / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003192/0.2691, allocations: 123.8 kB / 1.096 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.2693, allocations: 9.656 kB / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007059/0.27, allocations: 287 kB / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.2703, allocations: 0.7 MB / 1.097 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.939e-05/0.2705, allocations: 20 kB / 1.097 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.2705, allocations: 23.41 kB / 1.097 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.2705, allocations: 0 / 1.097 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of Templates: time 0.003831/0.2744, allocations: 1.294 MB / 1.098 GB, free: 6.746 MB / 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/jenkins/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