Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_10_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_10_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.009811/0.009819, allocations: 97.2 kB / 15.73 MB, free: 6.035 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.001678/0.001678, allocations: 201.5 kB / 16.68 MB, free: 5.961 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.738/2.738, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 59.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3152, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002874/0.3182, allocations: 1.585 MB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.3192, allocations: 0.5814 MB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.904e-05/0.3193, allocations: 0 / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.572e-05/0.3193, allocations: 11.94 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.82e-05/0.3195, allocations: 7.922 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.3198, allocations: 55.81 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.3199, allocations: 47.8 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.32, allocations: 19.97 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.3201, allocations: 23.92 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.531e-05/0.3202, allocations: 23.92 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3202, allocations: 4 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.3204, allocations: 51.89 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.073e-05/0.3204, allocations: 23.91 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.3205, allocations: 27.8 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.3207, allocations: 99.56 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3207, allocations: 0 / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3207, allocations: 0 / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.3207, allocations: 0 / 1.169 GB, free: 4.223 MB / 0.92 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.0006026/0.3213, allocations: 402.9 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3214, allocations: 8.031 kB / 1.17 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009137/0.3223, allocations: 212.5 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.3225, allocations: 196.8 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.863e-05/0.3225, allocations: 38.19 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.3226, allocations: 3.938 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/0.323, allocations: 169.5 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.323, allocations: 0 / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.323, allocations: 4 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.3231, allocations: 4 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006084/0.3237, allocations: 235.7 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009386/0.3246, allocations: 0.5078 MB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006233/0.3253, allocations: 238.3 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.3256, allocations: 120.8 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.3256, allocations: 0 / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.3257, allocations: 38.55 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3257, allocations: 0 / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.001011/0.3267, allocations: 373.3 kB / 1.172 GB, free: 1.539 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.3268, allocations: 51.41 kB / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.3269, allocations: 173.7 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.327, allocations: 25.7 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.327, allocations: 96.14 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.3271, allocations: 11.94 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/0.3271, allocations: 25.73 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3273, allocations: 322.8 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.3276, allocations: 107.9 kB / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.3278, allocations: 115.9 kB / 1.172 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/0.3283, allocations: 196.7 kB / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3284, allocations: 0 / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000594/0.329, allocations: 261.3 kB / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.329, allocations: 4 kB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.329, allocations: 3.984 kB / 1.173 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.329, allocations: 0 / 1.173 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.3292, allocations: 51.95 kB / 1.173 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.3292, allocations: 3.938 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.3294, allocations: 31.94 kB / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.3294, allocations: 7.984 kB / 1.173 GB, free: 28 kB / 0.92 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.91e-05/0.3295, allocations: 117.8 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.3296, allocations: 11.95 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.126e-05/0.3296, allocations: 11.88 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3296, allocations: 0 / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.3296, allocations: 3.938 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.3296, allocations: 3.938 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.3299, allocations: 257.2 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3299, allocations: 0 / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.3301, allocations: 47.91 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3301, allocations: 4 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.3301, allocations: 3.938 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3301, allocations: 4 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.3301, allocations: 11.92 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007499/0.3309, allocations: 347.2 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.331, allocations: 89.05 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.331, allocations: 0 / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.3312, allocations: 35.97 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.3312, allocations: 7.938 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.3312, allocations: 7.984 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000101/0.3313, allocations: 124.3 kB / 1.174 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3314, allocations: 0 / 1.174 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002471/0.3316, allocations: 16 kB / 1.174 GB, free: 14.85 MB / 0.9356 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.0001668/0.3318, allocations: 107.3 kB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006352/0.3324, allocations: 243.7 kB / 1.174 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3324, allocations: 0 / 1.174 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002987/0.3327, allocations: 115.9 kB / 1.174 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.333, allocations: 8 kB / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000631/0.3336, allocations: 294.1 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.3339, allocations: 0.6963 MB / 1.175 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.629e-05/0.334, allocations: 27.89 kB / 1.175 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.3341, allocations: 15.42 kB / 1.175 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.3341, allocations: 0 / 1.175 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of Templates: time 0.004516/0.3386, allocations: 1.301 MB / 1.177 GB, free: 12 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches