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.005401/0.005401, allocations: 101.2 kB / 15.88 MB, free: 6.305 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.001226/0.001226, allocations: 197.8 kB / 16.79 MB, free: 6.238 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.338/1.338, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.695/2.695, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 64.67 kB / 0.899 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.307, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1627/0.4697, allocations: 157.9 MB / 1.207 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005204/0.475, allocations: 3.829 MB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005027/0.4755, allocations: 15.88 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006866/0.4762, allocations: 143.1 kB / 1.211 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002146/0.4784, allocations: 0.7898 MB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.4795, allocations: 389.7 kB / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001738/0.4812, allocations: 1.397 MB / 1.213 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005532/0.4818, allocations: 256.9 kB / 1.214 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008413/0.4826, allocations: 362.4 kB / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.4838, allocations: 328.6 kB / 1.214 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.4839, allocations: 16 kB / 1.214 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.4856, allocations: 0.8533 MB / 1.215 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002316/0.4858, allocations: 147.6 kB / 1.215 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003501/0.4862, allocations: 198.9 kB / 1.215 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008421/0.487, allocations: 0.5418 MB / 1.216 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.487, allocations: 0 / 1.216 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/0.487, allocations: 0 / 1.216 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.4871, allocations: 0 / 1.216 GB, free: 0.6211 MB / 0.9669 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.001481/0.4885, allocations: 0.7363 MB / 1.217 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.4886, allocations: 11.97 kB / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.4898, allocations: 143.3 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006238/0.4904, allocations: 386.5 kB / 1.217 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.4904, allocations: 24.66 kB / 1.217 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.737e-05/0.4905, allocations: 31.94 kB / 1.217 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005962/0.4911, allocations: 329.9 kB / 1.218 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.4911, allocations: 0 / 1.218 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.4912, allocations: 12 kB / 1.218 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.4912, allocations: 8 kB / 1.218 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005552/0.4918, allocations: 310.4 kB / 1.218 GB, free: 14.55 MB / 0.9825 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.00184/0.4936, allocations: 1.209 MB / 1.219 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.4941, allocations: 286.8 kB / 1.219 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/0.4944, allocations: 191 kB / 1.219 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002954/0.4947, allocations: 186.5 kB / 1.22 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.4948, allocations: 38.84 kB / 1.22 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.034e-06/0.4948, allocations: 0 / 1.22 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.002229/0.497, allocations: 1.031 MB / 1.221 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.4971, allocations: 55.41 kB / 1.221 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.4974, allocations: 324.5 kB / 1.221 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.4975, allocations: 33.7 kB / 1.221 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.4976, allocations: 172.8 kB / 1.221 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.4977, allocations: 126.1 kB / 1.221 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.4978, allocations: 61.7 kB / 1.221 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.498, allocations: 350.8 kB / 1.222 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.4982, allocations: 119.7 kB / 1.222 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.4985, allocations: 160 kB / 1.222 GB, free: 9.984 MB / 0.9825 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.001789/0.5003, allocations: 0.7615 MB / 1.223 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5003, allocations: 4 kB / 1.223 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006459/0.5009, allocations: 352.8 kB / 1.223 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.501, allocations: 4 kB / 1.223 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.501, allocations: 8.016 kB / 1.223 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.501, allocations: 7.938 kB / 1.223 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.5013, allocations: 63.91 kB / 1.223 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.5014, allocations: 0 / 1.223 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.5018, allocations: 27.94 kB / 1.223 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.5018, allocations: 11.98 kB / 1.223 GB, free: 8.723 MB / 0.9825 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.0002391/0.5021, allocations: 177.8 kB / 1.223 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.153e-05/0.5022, allocations: 35.62 kB / 1.223 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.5023, allocations: 52.05 kB / 1.223 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.5023, allocations: 7.938 kB / 1.223 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5023, allocations: 0 / 1.223 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005724/0.5029, allocations: 404.4 kB / 1.224 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.5046, allocations: 1.076 MB / 1.225 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.5046, allocations: 0 / 1.225 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003826/0.505, allocations: 83.89 kB / 1.225 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.505, allocations: 8.469 kB / 1.225 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.5051, allocations: 12 kB / 1.225 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/0.5051, allocations: 15.92 kB / 1.225 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.5051, allocations: 7.938 kB / 1.225 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009973/0.5061, allocations: 0.6882 MB / 1.226 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.5063, allocations: 136.7 kB / 1.226 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.5064, allocations: 19.92 kB / 1.226 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.5067, allocations: 23.84 kB / 1.226 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/0.5068, allocations: 39.89 kB / 1.226 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.5069, allocations: 19.94 kB / 1.226 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002278/0.5071, allocations: 231 kB / 1.226 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5071, allocations: 0 / 1.226 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004951/0.5076, allocations: 108 kB / 1.226 GB, free: 5.379 MB / 0.9825 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.0004136/0.508, allocations: 164.7 kB / 1.226 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006084/0.5087, allocations: 292.3 kB / 1.227 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5087, allocations: 0 / 1.227 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.509, allocations: 168.5 kB / 1.227 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.5101, allocations: 226.4 kB / 1.227 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.5119, allocations: 1.116 MB / 1.228 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.5123, allocations: 0.8312 MB / 1.229 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.5125, allocations: 35.44 kB / 1.229 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.5125, allocations: 0 / 1.229 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of Templates: time 0.009488/0.522, allocations: 5.882 MB / 1.235 GB, free: 12.63 MB / 0.9981 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