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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001783/0.001783, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002175/0.002175, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.812/2.812, allocations: 472.6 MB / 0.7451 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 65.47 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3174, allocations: 159.9 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1872/0.5047, allocations: 160.1 MB / 1.225 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005091/0.5098, allocations: 3.817 MB / 1.228 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003567/0.5102, allocations: 11.94 kB / 1.228 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006405/0.5109, allocations: 182.7 kB / 1.228 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.513, allocations: 0.8439 MB / 1.229 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.514, allocations: 418.6 kB / 1.23 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001206/0.5152, allocations: 1.026 MB / 1.231 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004522/0.5157, allocations: 288.9 kB / 1.231 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006749/0.5164, allocations: 398.4 kB / 1.231 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009321/0.5173, allocations: 322.3 kB / 1.232 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.462e-05/0.5174, allocations: 28 kB / 1.232 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.5189, allocations: 0.7209 MB / 1.232 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.5191, allocations: 151.6 kB / 1.233 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002401/0.5193, allocations: 215 kB / 1.233 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.5204, allocations: 0.744 MB / 1.233 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5204, allocations: 0 / 1.233 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.572e-06/0.5204, allocations: 0 / 1.233 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.5204, allocations: 0 / 1.233 GB, free: 0.5938 MB / 0.9825 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.001128/0.5216, allocations: 0.7401 MB / 1.234 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.5216, allocations: 12.03 kB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.5227, allocations: 147.4 kB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005831/0.5233, allocations: 374.5 kB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.5233, allocations: 24.66 kB / 1.235 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.89e-05/0.5234, allocations: 39.91 kB / 1.235 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006071/0.524, allocations: 326 kB / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.524, allocations: 0 / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.5241, allocations: 16 kB / 1.235 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.5241, allocations: 4 kB / 1.235 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005656/0.5247, allocations: 310.4 kB / 1.235 GB, free: 14.53 MB / 0.9981 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.001691/0.5264, allocations: 1.209 MB / 1.237 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004908/0.5269, allocations: 291.3 kB / 1.237 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.5272, allocations: 190.9 kB / 1.237 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002802/0.5275, allocations: 190.5 kB / 1.237 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.5275, allocations: 38.83 kB / 1.237 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.915e-06/0.5275, allocations: 4 kB / 1.237 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.002224/0.5297, allocations: 1.037 MB / 1.238 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.5298, allocations: 55.41 kB / 1.238 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.5301, allocations: 312.5 kB / 1.239 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.5302, allocations: 29.7 kB / 1.239 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.5303, allocations: 172.8 kB / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.5304, allocations: 130.1 kB / 1.239 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.5305, allocations: 61.7 kB / 1.239 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002407/0.5308, allocations: 346.8 kB / 1.239 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.531, allocations: 115.7 kB / 1.239 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.5313, allocations: 174.2 kB / 1.24 GB, free: 9.949 MB / 0.9981 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.001807/0.5331, allocations: 0.7617 MB / 1.24 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.5332, allocations: 0 / 1.24 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000614/0.5338, allocations: 348.9 kB / 1.241 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5338, allocations: 4 kB / 1.241 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.5338, allocations: 3.984 kB / 1.241 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.5338, allocations: 7.938 kB / 1.241 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.5342, allocations: 67.91 kB / 1.241 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.5342, allocations: 0 / 1.241 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.5345, allocations: 22.14 kB / 1.241 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.5346, allocations: 12 kB / 1.241 GB, free: 8.703 MB / 0.9981 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.0002229/0.5348, allocations: 173.8 kB / 1.241 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.5349, allocations: 35.62 kB / 1.241 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.535, allocations: 52.05 kB / 1.241 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.535, allocations: 7.938 kB / 1.241 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.535, allocations: 0 / 1.241 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005749/0.5356, allocations: 408.4 kB / 1.241 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.5373, allocations: 1.068 MB / 1.242 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5373, allocations: 4.469 kB / 1.242 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003679/0.5377, allocations: 79.89 kB / 1.243 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.5377, allocations: 8 kB / 1.243 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.5377, allocations: 8 kB / 1.243 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.18e-05/0.5377, allocations: 19.86 kB / 1.243 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.5378, allocations: 4 kB / 1.243 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009845/0.5387, allocations: 0.6823 MB / 1.243 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.5389, allocations: 136.7 kB / 1.243 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.507e-05/0.539, allocations: 31.8 kB / 1.243 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.5393, allocations: 16 kB / 1.243 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/0.5394, allocations: 31.97 kB / 1.243 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.5395, allocations: 27.92 kB / 1.243 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002568/0.5397, allocations: 227 kB / 1.244 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5397, allocations: 0 / 1.244 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004694/0.5402, allocations: 108 kB / 1.244 GB, free: 5.379 MB / 0.9981 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.0004385/0.5406, allocations: 179.8 kB / 1.244 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006777/0.5413, allocations: 336 kB / 1.244 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.5414, allocations: 0 / 1.244 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.5416, allocations: 164.7 kB / 1.244 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.5428, allocations: 223.3 kB / 1.245 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.5443, allocations: 0.9651 MB / 1.246 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.5448, allocations: 0.8235 MB / 1.246 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003569/0.5451, allocations: 103.2 kB / 1.247 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.472e-05/0.5452, allocations: 31.44 kB / 1.247 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.5452, allocations: 0 / 1.247 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of Templates: time 0.5573/1.102, allocations: 7.39 MB / 1.254 GB, free: 185.2 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches