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.001529/0.001529, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 195.5 kB / 16.53 MB, free: 6.684 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.541/1.541, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.646/2.646, allocations: 437 MB / 0.7103 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.91 kB / 0.8692 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.655/0.6564, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1691/0.8256, allocations: 160.1 MB / 1.174 GB, free: 1.773 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005401/0.831, allocations: 3.801 MB / 1.177 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005232/0.8316, allocations: 15.88 kB / 1.177 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006895/0.8323, allocations: 190.7 kB / 1.178 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002127/0.8345, allocations: 0.84 MB / 1.178 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.8356, allocations: 416 kB / 1.179 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00132/0.8369, allocations: 1.015 MB / 1.18 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00053/0.8374, allocations: 296.8 kB / 1.18 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007661/0.8382, allocations: 402.4 kB / 1.18 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009416/0.8392, allocations: 320.6 kB / 1.181 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.8393, allocations: 28 kB / 1.181 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.8406, allocations: 0.717 MB / 1.181 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.8408, allocations: 163.6 kB / 1.182 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.8411, allocations: 210.9 kB / 1.182 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.8422, allocations: 0.744 MB / 1.183 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.8423, allocations: 0 / 1.183 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8423, allocations: 0 / 1.183 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.507e-05/0.8423, allocations: 0 / 1.183 GB, free: 8.641 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.001199/0.8435, allocations: 0.7401 MB / 1.183 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.8435, allocations: 8.031 kB / 1.183 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.8446, allocations: 147.3 kB / 1.183 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005616/0.8452, allocations: 382.5 kB / 1.184 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.8452, allocations: 20.66 kB / 1.184 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.922e-05/0.8453, allocations: 32 kB / 1.184 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.8459, allocations: 329.9 kB / 1.184 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.8459, allocations: 0 / 1.184 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.8459, allocations: 12 kB / 1.184 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.8459, allocations: 11.98 kB / 1.184 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005351/0.8465, allocations: 302.4 kB / 1.184 GB, free: 6.586 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.00171/0.8482, allocations: 1.216 MB / 1.186 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/0.8487, allocations: 283.5 kB / 1.186 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.849, allocations: 178.5 kB / 1.186 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002673/0.8493, allocations: 194.4 kB / 1.186 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.8493, allocations: 46.84 kB / 1.186 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 1.804e-06/0.8493, allocations: 0 / 1.186 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.002242/0.8515, allocations: 1.027 MB / 1.187 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.8516, allocations: 59.41 kB / 1.187 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.8519, allocations: 316.5 kB / 1.188 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.852, allocations: 33.7 kB / 1.188 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.8521, allocations: 180.7 kB / 1.188 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.897e-05/0.8522, allocations: 118.2 kB / 1.188 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.8523, allocations: 65.64 kB / 1.188 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.8524, allocations: 342.8 kB / 1.188 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.8527, allocations: 123.7 kB / 1.189 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.8529, allocations: 159.1 kB / 1.189 GB, free: 2.008 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.001748/0.8547, allocations: 0.768 MB / 1.189 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.8547, allocations: 4 kB / 1.189 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005871/0.8553, allocations: 356.7 kB / 1.19 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.8553, allocations: 8 kB / 1.19 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.8554, allocations: 0 / 1.19 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.8554, allocations: 3.938 kB / 1.19 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.8557, allocations: 67.91 kB / 1.19 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.8557, allocations: 4 kB / 1.19 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.8561, allocations: 11.98 kB / 1.19 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.8561, allocations: 16.03 kB / 1.19 GB, free: 0.7461 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.0001791/0.8563, allocations: 175.6 kB / 1.19 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/0.8564, allocations: 39.53 kB / 1.19 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.88e-05/0.8565, allocations: 48.06 kB / 1.19 GB, free: 492 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.8565, allocations: 7.938 kB / 1.19 GB, free: 484 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8565, allocations: 0 / 1.19 GB, free: 484 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005307/0.857, allocations: 408.2 kB / 1.191 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.8587, allocations: 1.07 MB / 1.192 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.964e-06/0.8587, allocations: 7.984 kB / 1.192 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003758/0.8591, allocations: 80.38 kB / 1.192 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.8591, allocations: 11.98 kB / 1.192 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.8591, allocations: 12 kB / 1.192 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.8591, allocations: 7.938 kB / 1.192 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.8591, allocations: 7.938 kB / 1.192 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009319/0.8601, allocations: 0.6917 MB / 1.192 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.8603, allocations: 144.6 kB / 1.192 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.8603, allocations: 15.94 kB / 1.192 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.8607, allocations: 15.98 kB / 1.193 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.8608, allocations: 39.97 kB / 1.193 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.8608, allocations: 19.94 kB / 1.193 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002216/0.861, allocations: 231 kB / 1.193 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.573e-06/0.861, allocations: 0 / 1.193 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004567/0.8615, allocations: 111.9 kB / 1.193 GB, free: 13.41 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.0003831/0.8619, allocations: 174.9 kB / 1.193 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006244/0.8625, allocations: 323.7 kB / 1.193 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.8625, allocations: 0 / 1.193 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.8628, allocations: 172.5 kB / 1.194 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.8641, allocations: 227.4 kB / 1.194 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.8656, allocations: 0.9611 MB / 1.195 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.866, allocations: 0.8235 MB / 1.195 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003786/0.8664, allocations: 107.2 kB / 1.196 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.8665, allocations: 39.44 kB / 1.196 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.8665, allocations: 0 / 1.196 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of Templates: time 0.0132/0.8797, allocations: 7.389 MB / 1.203 GB, free: 3.254 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