Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001682/0.001682, allocations: 191.5 kB / 16.14 MB, free: 6.711 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.416/1.416, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.573/2.573, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 71.89 kB / 0.8685 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.755/0.7561, allocations: 151.6 MB / 1.017 GB, free: 2.965 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1638/0.9199, allocations: 157.9 MB / 1.171 GB, free: 4.496 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005311/0.9253, allocations: 3.828 MB / 1.175 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005846/0.9259, allocations: 7.938 kB / 1.175 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007453/0.9267, allocations: 155.1 kB / 1.175 GB, free: 0.5 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.9288, allocations: 0.7899 MB / 1.175 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009989/0.9298, allocations: 388.3 kB / 1.176 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.9313, allocations: 1.397 MB / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000456/0.9318, allocations: 248.9 kB / 1.177 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000741/0.9325, allocations: 362.4 kB / 1.178 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.9336, allocations: 338.5 kB / 1.178 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.621e-05/0.9336, allocations: 16 kB / 1.178 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.9352, allocations: 0.8455 MB / 1.179 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.9354, allocations: 155.6 kB / 1.179 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002665/0.9357, allocations: 199 kB / 1.179 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.9368, allocations: 0.7712 MB / 1.18 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.9369, allocations: 0 / 1.18 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9369, allocations: 4 kB / 1.18 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.9369, allocations: 0 / 1.18 GB, free: 11.02 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001239/0.9381, allocations: 0.744 MB / 1.181 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.9382, allocations: 12.03 kB / 1.181 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.9393, allocations: 155.3 kB / 1.181 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.9399, allocations: 374.5 kB / 1.181 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.9399, allocations: 20.66 kB / 1.181 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.614e-05/0.94, allocations: 32 kB / 1.181 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005861/0.9406, allocations: 326 kB / 1.182 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.9406, allocations: 3.938 kB / 1.182 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.9406, allocations: 16 kB / 1.182 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.9407, allocations: 8 kB / 1.182 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00054/0.9412, allocations: 310.4 kB / 1.182 GB, free: 8.945 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.943, allocations: 1.205 MB / 1.183 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/0.9435, allocations: 291.3 kB / 1.183 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.9437, allocations: 177.3 kB / 1.184 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.944, allocations: 194.5 kB / 1.184 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.9441, allocations: 42.78 kB / 1.184 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 1.482e-06/0.9441, allocations: 0 / 1.184 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.00209/0.9462, allocations: 1.031 MB / 1.185 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.9462, allocations: 55.41 kB / 1.185 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.9465, allocations: 316.5 kB / 1.185 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.9466, allocations: 33.7 kB / 1.185 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.9467, allocations: 176.7 kB / 1.185 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.9468, allocations: 126.2 kB / 1.185 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.9469, allocations: 65.69 kB / 1.186 GB, free: 5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.9471, allocations: 342.8 kB / 1.186 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.9473, allocations: 115.7 kB / 1.186 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.9476, allocations: 163.1 kB / 1.186 GB, free: 4.375 MB / 0.9356 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001764/0.9493, allocations: 0.7641 MB / 1.187 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9493, allocations: 3.938 kB / 1.187 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006157/0.95, allocations: 356.8 kB / 1.187 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.95, allocations: 8 kB / 1.187 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.95, allocations: 0 / 1.187 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.95, allocations: 3.938 kB / 1.187 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.9503, allocations: 67.91 kB / 1.187 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.9504, allocations: 4 kB / 1.187 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.9507, allocations: 27.86 kB / 1.187 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.9508, allocations: 12 kB / 1.187 GB, free: 3.105 MB / 0.9356 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: dynBal.medium.p = dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * 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.0001995/0.951, allocations: 169.8 kB / 1.188 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.26e-05/0.9511, allocations: 43.59 kB / 1.188 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.896e-05/0.9512, allocations: 52.06 kB / 1.188 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.9512, allocations: 7.938 kB / 1.188 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.9512, allocations: 0 / 1.188 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000544/0.9518, allocations: 408.2 kB / 1.188 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.9534, allocations: 1.066 MB / 1.189 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.9534, allocations: 4.469 kB / 1.189 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/0.9538, allocations: 87.84 kB / 1.189 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.9538, allocations: 7.984 kB / 1.189 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.9539, allocations: 12 kB / 1.189 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.9539, allocations: 7.938 kB / 1.189 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.9539, allocations: 4 kB / 1.189 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009646/0.9549, allocations: 0.6879 MB / 1.19 GB, free: 368 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.955, allocations: 152.6 kB / 1.19 GB, free: 196 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.837e-05/0.9551, allocations: 11.94 kB / 1.19 GB, free: 184 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.9555, allocations: 25.47 kB / 1.19 GB, free: 160 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/0.9556, allocations: 27.97 kB / 1.19 GB, free: 132 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.9556, allocations: 19.94 kB / 1.19 GB, free: 112 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002682/0.9559, allocations: 231 kB / 1.19 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9559, allocations: 0 / 1.19 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005273/0.9564, allocations: 120 kB / 1.19 GB, free: 15.77 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (dynBal.medium.Xi[1],dynBal.U) * 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 (35): * Single equations (assignments): 35 * 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.0004801/0.9569, allocations: 179.7 kB / 1.191 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000614/0.9575, allocations: 291.9 kB / 1.191 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.9575, allocations: 0 / 1.191 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.9578, allocations: 168.2 kB / 1.191 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.9589, allocations: 214.1 kB / 1.191 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.9606, allocations: 1.082 MB / 1.192 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.961, allocations: 0.8312 MB / 1.193 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000361/0.9613, allocations: 103.2 kB / 1.193 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.9615, allocations: 43.38 kB / 1.193 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.9615, allocations: 0 / 1.193 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of Templates: time 0.01282/0.9743, allocations: 7.028 MB / 1.2 GB, free: 5.875 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches