Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001113/0.001113, allocations: 117.1 kB / 16.37 MB, free: 6.012 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.001127/0.001127, allocations: 190.9 kB / 17.31 MB, free: 5.613 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.476/2.476, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 64.17 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2862, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.6528/0.939, allocations: 160.1 MB / 1.183 GB, free: 3.406 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006793/0.9459, allocations: 3.806 MB / 1.187 GB, free: 332 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004961/0.9465, allocations: 12.84 kB / 1.187 GB, free: 328 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006541/0.9472, allocations: 185.6 kB / 1.187 GB, free: 168 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002266/0.9494, allocations: 0.8354 MB / 1.188 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.9505, allocations: 436.6 kB / 1.188 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001301/0.9518, allocations: 1.02 MB / 1.189 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004314/0.9523, allocations: 290.3 kB / 1.19 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006783/0.953, allocations: 409.7 kB / 1.19 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008599/0.9538, allocations: 317.4 kB / 1.19 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.674e-05/0.9539, allocations: 30.78 kB / 1.19 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.9552, allocations: 0.7188 MB / 1.191 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.9554, allocations: 162.6 kB / 1.191 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.9557, allocations: 208.5 kB / 1.191 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.9567, allocations: 0.7542 MB / 1.192 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.9567, allocations: 0 / 1.192 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9567, allocations: 0 / 1.192 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.9567, allocations: 5.188 kB / 1.192 GB, free: 12.93 MB / 0.9044 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.001094/0.9578, allocations: 0.7404 MB / 1.193 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.9579, allocations: 9.094 kB / 1.193 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.9589, allocations: 155.6 kB / 1.193 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006258/0.9596, allocations: 400.8 kB / 1.193 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.9596, allocations: 25.5 kB / 1.193 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.966e-05/0.9597, allocations: 29.69 kB / 1.193 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/0.9602, allocations: 326.2 kB / 1.194 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.9603, allocations: 0 / 1.194 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.9603, allocations: 10.75 kB / 1.194 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.9603, allocations: 6.875 kB / 1.194 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005223/0.9608, allocations: 311.4 kB / 1.194 GB, free: 11.52 MB / 0.9044 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.001739/0.9626, allocations: 1.2 MB / 1.195 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004569/0.9631, allocations: 283.9 kB / 1.195 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.9634, allocations: 186.8 kB / 1.196 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002803/0.9636, allocations: 191.7 kB / 1.196 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.9637, allocations: 40.05 kB / 1.196 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.9637, allocations: 1.219 kB / 1.196 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35): time 0.002071/0.9658, allocations: 1.027 MB / 1.197 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.9658, allocations: 60.73 kB / 1.197 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.9661, allocations: 318.4 kB / 1.197 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.9662, allocations: 36.36 kB / 1.197 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.9663, allocations: 180.7 kB / 1.197 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.673e-05/0.9664, allocations: 115.6 kB / 1.198 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.9665, allocations: 68.34 kB / 1.198 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.9666, allocations: 343.1 kB / 1.198 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.9669, allocations: 122.4 kB / 1.198 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.9671, allocations: 156.5 kB / 1.198 GB, free: 8.258 MB / 0.9044 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.001696/0.9688, allocations: 0.7578 MB / 1.199 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9688, allocations: 0 / 1.199 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005744/0.9694, allocations: 359.9 kB / 1.199 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.9694, allocations: 10.14 kB / 1.199 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.9694, allocations: 0 / 1.199 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.9695, allocations: 2.5 kB / 1.199 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.9698, allocations: 66.28 kB / 1.199 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.9698, allocations: 6.375 kB / 1.199 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.9702, allocations: 24.86 kB / 1.199 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.9702, allocations: 7.781 kB / 1.199 GB, free: 7.613 MB / 0.9044 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.0002036/0.9704, allocations: 178.8 kB / 1.2 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.9705, allocations: 37.78 kB / 1.2 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.9706, allocations: 48.38 kB / 1.2 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.9706, allocations: 8.781 kB / 1.2 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.9706, allocations: 0 / 1.2 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005357/0.9712, allocations: 412.1 kB / 1.2 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.9728, allocations: 1.067 MB / 1.201 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.9729, allocations: 5.75 kB / 1.201 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/0.9732, allocations: 78.64 kB / 1.201 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/0.9733, allocations: 4.688 kB / 1.201 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.9733, allocations: 20.53 kB / 1.201 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.9733, allocations: 13.31 kB / 1.201 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.9733, allocations: 6.594 kB / 1.201 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008933/0.9742, allocations: 0.6749 MB / 1.202 GB, free: 5.75 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/0.9744, allocations: 150.3 kB / 1.202 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.9745, allocations: 9.094 kB / 1.202 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.9748, allocations: 24.61 kB / 1.202 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/0.9749, allocations: 32.5 kB / 1.202 GB, free: 5.574 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.975, allocations: 16.22 kB / 1.202 GB, free: 5.57 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002114/0.9752, allocations: 236.7 kB / 1.202 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9752, allocations: 0 / 1.202 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004659/0.9757, allocations: 110.5 kB / 1.202 GB, free: 5.406 MB / 0.9044 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.000379/0.976, allocations: 174 kB / 1.203 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005793/0.9766, allocations: 304.7 kB / 1.203 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.9766, allocations: 0 / 1.203 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.9769, allocations: 171 kB / 1.203 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.978, allocations: 221.6 kB / 1.203 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.9797, allocations: 0.9592 MB / 1.204 GB, free: 4.273 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.9801, allocations: 0.8286 MB / 1.205 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003482/0.9804, allocations: 101.3 kB / 1.205 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.9806, allocations: 38.81 kB / 1.205 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of SimCode: time 7.01e-07/0.9806, allocations: 0 / 1.205 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of Templates: time 0.01309/0.9937, allocations: 7.377 MB / 1.212 GB, free: 14.93 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches