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.001243/0.001243, allocations: 104 kB / 16.27 MB, free: 5.973 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.001171/0.001171, allocations: 193.3 kB / 17.2 MB, free: 5.598 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.294/1.294, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.524/2.524, allocations: 469.4 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001426, allocations: 63.69 kB / 0.9088 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2943, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.7096/1.004, allocations: 160.1 MB / 1.221 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005151/1.009, allocations: 3.806 MB / 1.224 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003493/1.009, allocations: 16.12 kB / 1.224 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005914/1.01, allocations: 180.9 kB / 1.224 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001919/1.012, allocations: 0.8443 MB / 1.225 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009672/1.013, allocations: 415.9 kB / 1.226 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001161/1.014, allocations: 1.022 MB / 1.227 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004241/1.015, allocations: 294.3 kB / 1.227 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005857/1.015, allocations: 397.3 kB / 1.227 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007834/1.016, allocations: 330.8 kB / 1.228 GB, free: 232 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.043e-05/1.016, allocations: 31.09 kB / 1.228 GB, free: 232 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/1.017, allocations: 0.7101 MB / 1.228 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001697/1.018, allocations: 153.8 kB / 1.229 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002007/1.018, allocations: 217.5 kB / 1.229 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009516/1.019, allocations: 0.7412 MB / 1.229 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.019, allocations: 4 kB / 1.229 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.764e-06/1.019, allocations: 0 / 1.229 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.476e-06/1.019, allocations: 3.156 kB / 1.229 GB, free: 15.14 MB / 0.9512 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.00107/1.02, allocations: 0.7339 MB / 1.23 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/1.02, allocations: 11.25 kB / 1.23 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/1.021, allocations: 149.7 kB / 1.23 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/1.021, allocations: 377.9 kB / 1.231 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/1.021, allocations: 24.94 kB / 1.231 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/1.021, allocations: 33.02 kB / 1.231 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/1.022, allocations: 329.9 kB / 1.231 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/1.022, allocations: 4 kB / 1.231 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/1.022, allocations: 12.16 kB / 1.231 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/1.022, allocations: 5.594 kB / 1.231 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005163/1.023, allocations: 305 kB / 1.231 GB, free: 13.74 MB / 0.9512 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.001579/1.024, allocations: 1.223 MB / 1.233 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004478/1.025, allocations: 283.4 kB / 1.233 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/1.025, allocations: 185.3 kB / 1.233 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/1.025, allocations: 190.5 kB / 1.233 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/1.025, allocations: 42.77 kB / 1.233 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/1.025, allocations: 0 / 1.233 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35): time 0.001967/1.027, allocations: 1.023 MB / 1.234 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/1.027, allocations: 59.34 kB / 1.234 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/1.028, allocations: 316.5 kB / 1.235 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/1.028, allocations: 41.7 kB / 1.235 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/1.028, allocations: 176.7 kB / 1.235 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.466e-05/1.028, allocations: 122.2 kB / 1.235 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-05/1.028, allocations: 57.7 kB / 1.235 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.028, allocations: 350.8 kB / 1.235 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/1.028, allocations: 119.7 kB / 1.235 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/1.029, allocations: 160 kB / 1.236 GB, free: 9.301 MB / 0.9512 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.001727/1.03, allocations: 0.7648 MB / 1.236 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.03, allocations: 0 / 1.236 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005593/1.031, allocations: 360.8 kB / 1.237 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.031, allocations: 8.031 kB / 1.237 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.031, allocations: 3.984 kB / 1.237 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/1.031, allocations: 4 kB / 1.237 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/1.031, allocations: 67.84 kB / 1.237 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.031, allocations: 0 / 1.237 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/1.032, allocations: 23.89 kB / 1.237 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/1.032, allocations: 8 kB / 1.237 GB, free: 8.039 MB / 0.9512 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.0001712/1.032, allocations: 177.8 kB / 1.237 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/1.032, allocations: 31.62 kB / 1.237 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.775e-05/1.032, allocations: 52.06 kB / 1.237 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/1.032, allocations: 11.88 kB / 1.237 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.032, allocations: 0 / 1.237 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005247/1.033, allocations: 408 kB / 1.237 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/1.034, allocations: 1.067 MB / 1.239 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.034, allocations: 7.938 kB / 1.239 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/1.034, allocations: 79.89 kB / 1.239 GB, free: 6.078 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/1.034, allocations: 4 kB / 1.239 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/1.034, allocations: 16.47 kB / 1.239 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/1.034, allocations: 4 kB / 1.239 GB, free: 6.055 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.034, allocations: 15.88 kB / 1.239 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008629/1.035, allocations: 0.6839 MB / 1.239 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/1.036, allocations: 148.6 kB / 1.239 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/1.036, allocations: 11.94 kB / 1.239 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/1.036, allocations: 23.92 kB / 1.239 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/1.036, allocations: 31.97 kB / 1.239 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/1.036, allocations: 16 kB / 1.24 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002074/1.036, allocations: 239 kB / 1.24 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.036, allocations: 0 / 1.24 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004378/1.037, allocations: 108 kB / 1.24 GB, free: 4.711 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.0003528/1.037, allocations: 164.5 kB / 1.24 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005941/1.038, allocations: 323.6 kB / 1.24 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.038, allocations: 4 kB / 1.24 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002684/1.038, allocations: 163.7 kB / 1.24 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/1.039, allocations: 230.7 kB / 1.241 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/1.041, allocations: 1.01 MB / 1.242 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/1.041, allocations: 0.8274 MB / 1.242 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/1.041, allocations: 35.44 kB / 1.243 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/1.041, allocations: 0 / 1.243 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of Templates: time 0.008217/1.049, allocations: 5.883 MB / 1.248 GB, free: 12.05 MB / 0.9669 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