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.00139/0.00139, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001312/0.001312, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.295/1.295, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.371/2.371, allocations: 437 MB / 0.711 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001435, allocations: 72.62 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2731, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.6773/0.9505, allocations: 160.1 MB / 1.174 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006053/0.9566, allocations: 3.803 MB / 1.178 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006901/0.9573, allocations: 13.31 kB / 1.178 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007938/0.9582, allocations: 180.4 kB / 1.178 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002694/0.9609, allocations: 0.8452 MB / 1.179 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.9623, allocations: 425.1 kB / 1.179 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001875/0.9642, allocations: 1.021 MB / 1.18 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007236/0.9649, allocations: 290.2 kB / 1.181 GB, free: 9.051 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.9662, allocations: 397.4 kB / 1.181 GB, free: 8.828 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.9674, allocations: 331.2 kB / 1.181 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.9675, allocations: 30.25 kB / 1.181 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.9696, allocations: 0.7068 MB / 1.182 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003241/0.9699, allocations: 162.6 kB / 1.182 GB, free: 8.148 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000703/0.9706, allocations: 217.2 kB / 1.183 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002743/0.9734, allocations: 0.7414 MB / 1.183 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.495e-06/0.9734, allocations: 1.688 kB / 1.183 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.615e-06/0.9734, allocations: 0 / 1.183 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.476e-05/0.9735, allocations: 0 / 1.183 GB, free: 7.547 MB / 0.8887 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.002563/0.976, allocations: 0.7432 MB / 1.184 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.9761, allocations: 11.27 kB / 1.184 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.9775, allocations: 151.5 kB / 1.184 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008565/0.9783, allocations: 376.3 kB / 1.184 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.9784, allocations: 20.78 kB / 1.184 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.19e-05/0.9785, allocations: 36.47 kB / 1.185 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/0.9792, allocations: 322.4 kB / 1.185 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.9792, allocations: 1 kB / 1.185 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.9793, allocations: 10.97 kB / 1.185 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.9793, allocations: 7.5 kB / 1.185 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006289/0.9799, allocations: 310.5 kB / 1.185 GB, free: 6.148 MB / 0.8887 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.002188/0.9821, allocations: 1.208 MB / 1.186 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005566/0.9827, allocations: 296.6 kB / 1.187 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.9831, allocations: 187.1 kB / 1.187 GB, free: 4.871 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/0.9834, allocations: 186.3 kB / 1.187 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.9834, allocations: 37.41 kB / 1.187 GB, free: 4.633 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=33): time 2.675e-06/0.9834, allocations: 6.812 kB / 1.187 GB, free: 4.629 MB / 0.8887 GB Notification: Performance of matching and sorting (n=35): time 0.002463/0.9859, allocations: 1.019 MB / 1.188 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.986, allocations: 64.31 kB / 1.188 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.9864, allocations: 316 kB / 1.188 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.9864, allocations: 32.2 kB / 1.188 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.9866, allocations: 181 kB / 1.189 GB, free: 3.512 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.9867, allocations: 125.5 kB / 1.189 GB, free: 3.402 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.9868, allocations: 63.83 kB / 1.189 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.987, allocations: 345 kB / 1.189 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.9872, allocations: 129.1 kB / 1.189 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.9874, allocations: 156.9 kB / 1.189 GB, free: 2.871 MB / 0.8887 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.001769/0.9892, allocations: 0.7638 MB / 1.19 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.9892, allocations: 0 / 1.19 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006508/0.9899, allocations: 357 kB / 1.19 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.9899, allocations: 5.25 kB / 1.19 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.9899, allocations: 0 / 1.19 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.99, allocations: 2.156 kB / 1.19 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.9903, allocations: 72.22 kB / 1.191 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.9903, allocations: 5.219 kB / 1.191 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.9907, allocations: 16.83 kB / 1.191 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/0.9908, allocations: 16.25 kB / 1.191 GB, free: 2.219 MB / 0.8887 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.0002232/0.991, allocations: 173.8 kB / 1.191 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.759e-05/0.9911, allocations: 42.39 kB / 1.191 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.9912, allocations: 50.22 kB / 1.191 GB, free: 2 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.9912, allocations: 6.688 kB / 1.191 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.9912, allocations: 1.562 kB / 1.191 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005999/0.9918, allocations: 412 kB / 1.191 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.9937, allocations: 1.063 MB / 1.192 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/0.9938, allocations: 3.938 kB / 1.192 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.9942, allocations: 83.64 kB / 1.192 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.9942, allocations: 9.281 kB / 1.192 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.9942, allocations: 11.41 kB / 1.192 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-05/0.9942, allocations: 12.8 kB / 1.192 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.9943, allocations: 9.188 kB / 1.192 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009968/0.9953, allocations: 0.6841 MB / 1.193 GB, free: 356 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.9955, allocations: 141.7 kB / 1.193 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.223e-05/0.9956, allocations: 13.33 kB / 1.193 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.9959, allocations: 22.16 kB / 1.193 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/0.996, allocations: 36.39 kB / 1.193 GB, free: 176 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.9961, allocations: 12.41 kB / 1.193 GB, free: 176 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002446/0.9963, allocations: 237.3 kB / 1.193 GB, free: 20 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.833e-06/0.9963, allocations: 0 / 1.193 GB, free: 20 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005246/0.9969, allocations: 109.9 kB / 1.194 GB, free: 8 kB / 0.8887 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.0004767/0.9973, allocations: 163.9 kB / 1.194 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006833/0.998, allocations: 333.4 kB / 1.194 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.9981, allocations: 2.688 kB / 1.194 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.9984, allocations: 161.6 kB / 1.194 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.9996, allocations: 230.6 kB / 1.194 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/1.002, allocations: 1 MB / 1.195 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/1.002, allocations: 0.824 MB / 1.196 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/1.002, allocations: 37.66 kB / 1.196 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of SimCode: time 6.11e-07/1.002, allocations: 0 / 1.196 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of Templates: time 0.01105/1.013, allocations: 5.888 MB / 1.202 GB, free: 11.04 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches