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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001083/0.001083, allocations: 109.1 kB / 16.41 MB, free: 6.508 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.001117/0.001117, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.445/2.445, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001464, allocations: 68.11 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7828/0.7843, allocations: 157.4 MB / 1.208 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1714/0.9558, allocations: 160.1 MB / 1.365 GB, free: 13.07 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005187/0.961, allocations: 3.802 MB / 1.368 GB, free: 9.258 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003809/0.9614, allocations: 15.94 kB / 1.369 GB, free: 9.242 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006289/0.9621, allocations: 194.7 kB / 1.369 GB, free: 9.051 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.9642, allocations: 0.8713 MB / 1.37 GB, free: 8.176 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.000975/0.9652, allocations: 418.6 kB / 1.37 GB, free: 7.77 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.9664, allocations: 1.034 MB / 1.371 GB, free: 6.73 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004364/0.9669, allocations: 292.9 kB / 1.371 GB, free: 6.441 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000657/0.9675, allocations: 426.3 kB / 1.372 GB, free: 6.023 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008576/0.9684, allocations: 310.8 kB / 1.372 GB, free: 5.719 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 5.623e-05/0.9685, allocations: 35.94 kB / 1.372 GB, free: 5.684 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.9698, allocations: 0.7209 MB / 1.373 GB, free: 4.961 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.97, allocations: 159.6 kB / 1.373 GB, free: 4.805 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.9703, allocations: 226.9 kB / 1.373 GB, free: 4.582 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.9714, allocations: 0.7401 MB / 1.374 GB, free: 3.84 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.9714, allocations: 0 / 1.374 GB, free: 3.84 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.517e-06/0.9714, allocations: 0 / 1.374 GB, free: 3.84 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.9714, allocations: 3.938 kB / 1.374 GB, free: 3.836 MB / 1.092 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.001156/0.9726, allocations: 0.7362 MB / 1.374 GB, free: 3.051 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.9727, allocations: 12.03 kB / 1.375 GB, free: 3.039 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.9737, allocations: 147.4 kB / 1.375 GB, free: 2.895 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005562/0.9743, allocations: 398.4 kB / 1.375 GB, free: 2.469 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.9743, allocations: 24.66 kB / 1.375 GB, free: 2.445 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.575e-05/0.9744, allocations: 39.84 kB / 1.375 GB, free: 2.406 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/0.9749, allocations: 322 kB / 1.375 GB, free: 2.082 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.975, allocations: 4 kB / 1.375 GB, free: 2.078 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.975, allocations: 16 kB / 1.375 GB, free: 2.062 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.975, allocations: 4 kB / 1.375 GB, free: 2.059 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005042/0.9755, allocations: 310.4 kB / 1.376 GB, free: 1.758 MB / 1.092 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.001589/0.9771, allocations: 1.197 MB / 1.377 GB, free: 460 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/0.9776, allocations: 283.3 kB / 1.377 GB, free: 168 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.9779, allocations: 194.8 kB / 1.377 GB, free: 15.97 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.9782, allocations: 190.4 kB / 1.378 GB, free: 15.75 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.9782, allocations: 38.83 kB / 1.378 GB, free: 15.7 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/0.9782, allocations: 0 / 1.378 GB, free: 15.7 MB / 1.107 GB Notification: Performance of matching and sorting (n=35): time 0.002025/0.9802, allocations: 1.03 MB / 1.379 GB, free: 14.62 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.9803, allocations: 59.39 kB / 1.379 GB, free: 14.55 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.9806, allocations: 312.5 kB / 1.379 GB, free: 14.24 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.9806, allocations: 33.7 kB / 1.379 GB, free: 14.2 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.9808, allocations: 184.7 kB / 1.379 GB, free: 14.02 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.892e-05/0.9809, allocations: 118.2 kB / 1.379 GB, free: 13.9 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.921e-05/0.981, allocations: 65.69 kB / 1.379 GB, free: 13.83 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.9811, allocations: 342.8 kB / 1.38 GB, free: 13.49 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.9813, allocations: 111.9 kB / 1.38 GB, free: 13.38 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.9816, allocations: 171.8 kB / 1.38 GB, free: 13.2 MB / 1.107 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.001697/0.9833, allocations: 0.766 MB / 1.381 GB, free: 12.41 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.9833, allocations: 0 / 1.381 GB, free: 12.41 MB / 1.107 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000573/0.9839, allocations: 348.9 kB / 1.381 GB, free: 12.07 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.9839, allocations: 15.92 kB / 1.381 GB, free: 12.05 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.9839, allocations: 0 / 1.381 GB, free: 12.05 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.9839, allocations: 3.938 kB / 1.381 GB, free: 12.05 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.9843, allocations: 71.84 kB / 1.381 GB, free: 11.98 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.9843, allocations: 7.984 kB / 1.381 GB, free: 11.97 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.9846, allocations: 17.89 kB / 1.381 GB, free: 11.95 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.9847, allocations: 12 kB / 1.381 GB, free: 11.94 MB / 1.107 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.0002008/0.9849, allocations: 177.8 kB / 1.381 GB, free: 11.76 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/0.9849, allocations: 35.62 kB / 1.381 GB, free: 11.72 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.9851, allocations: 48.06 kB / 1.381 GB, free: 11.68 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.9851, allocations: 7.938 kB / 1.381 GB, free: 11.67 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.9851, allocations: 0 / 1.381 GB, free: 11.67 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005458/0.9856, allocations: 420.3 kB / 1.382 GB, free: 11.23 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.9872, allocations: 1.065 MB / 1.383 GB, free: 10.06 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.9873, allocations: 4.469 kB / 1.383 GB, free: 10.05 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.9876, allocations: 83.89 kB / 1.383 GB, free: 9.973 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.9876, allocations: 4 kB / 1.383 GB, free: 9.969 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.9877, allocations: 12 kB / 1.383 GB, free: 9.957 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/0.9877, allocations: 11.88 kB / 1.383 GB, free: 9.945 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.9877, allocations: 4 kB / 1.383 GB, free: 9.941 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009291/0.9886, allocations: 0.6819 MB / 1.384 GB, free: 9.199 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.9888, allocations: 140.7 kB / 1.384 GB, free: 9.043 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.25e-05/0.9889, allocations: 19.94 kB / 1.384 GB, free: 9.023 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.9892, allocations: 15.98 kB / 1.384 GB, free: 9.008 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.919e-05/0.9893, allocations: 35.97 kB / 1.384 GB, free: 8.973 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.9894, allocations: 19.94 kB / 1.384 GB, free: 8.953 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002287/0.9896, allocations: 231 kB / 1.384 GB, free: 8.727 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9896, allocations: 0 / 1.384 GB, free: 8.727 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004681/0.9901, allocations: 116 kB / 1.384 GB, free: 8.613 MB / 1.107 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.0004498/0.9905, allocations: 166 kB / 1.384 GB, free: 8.449 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0006133/0.9912, allocations: 308.1 kB / 1.385 GB, free: 8.148 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.9912, allocations: 0 / 1.385 GB, free: 8.148 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.9915, allocations: 172.7 kB / 1.385 GB, free: 7.98 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.9926, allocations: 223.1 kB / 1.385 GB, free: 7.762 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.9943, allocations: 0.9941 MB / 1.386 GB, free: 6.688 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.9947, allocations: 0.8273 MB / 1.387 GB, free: 5.836 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.9948, allocations: 39.42 kB / 1.387 GB, free: 5.797 MB / 1.107 GB Notification: Performance of SimCode: time 3.31e-07/0.9948, allocations: 0 / 1.387 GB, free: 5.797 MB / 1.107 GB Notification: Performance of Templates: time 0.009712/1.005, allocations: 5.916 MB / 1.393 GB, free: 15.93 MB / 1.123 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 -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