Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001979/0.00198, allocations: 108.2 kB / 15.99 MB, free: 5.895 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.002215/0.002215, allocations: 193.9 kB / 16.91 MB, free: 5.746 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.422/1.422, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.807/2.807, allocations: 469.8 MB / 0.7427 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 70.36 kB / 0.9087 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3126, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.188/0.5006, allocations: 157.9 MB / 1.218 GB, free: 40 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005386/0.506, allocations: 3.782 MB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003552/0.5064, allocations: 15.88 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000614/0.5071, allocations: 163.1 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.5093, allocations: 0.7859 MB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009959/0.5103, allocations: 392.1 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001294/0.5116, allocations: 1.022 MB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004634/0.512, allocations: 280.9 kB / 1.225 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006687/0.5127, allocations: 410.4 kB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009028/0.5136, allocations: 346.1 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.752e-05/0.5137, allocations: 32 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.515, allocations: 0.7441 MB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.5152, allocations: 163.6 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002423/0.5155, allocations: 215 kB / 1.226 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007846/0.5163, allocations: 0.5418 MB / 1.227 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.5163, allocations: 0 / 1.227 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5163, allocations: 11.88 kB / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.5163, allocations: 0 / 1.227 GB, free: 7.16 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.0012/0.5175, allocations: 0.73 MB / 1.228 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.5176, allocations: 12.03 kB / 1.228 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.5187, allocations: 147.3 kB / 1.228 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006013/0.5193, allocations: 374.5 kB / 1.228 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.5193, allocations: 28.59 kB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.928e-05/0.5194, allocations: 35.98 kB / 1.228 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006124/0.52, allocations: 326 kB / 1.229 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.52, allocations: 0 / 1.229 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.5201, allocations: 19.94 kB / 1.229 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.5201, allocations: 4 kB / 1.229 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005642/0.5207, allocations: 306.4 kB / 1.229 GB, free: 5.109 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.001898/0.5226, allocations: 1.213 MB / 1.23 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.5231, allocations: 279.4 kB / 1.23 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.5234, allocations: 189.3 kB / 1.231 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003008/0.5237, allocations: 186.5 kB / 1.231 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.5237, allocations: 38.84 kB / 1.231 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.5237, allocations: 0 / 1.231 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.002226/0.526, allocations: 1.046 MB / 1.232 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.526, allocations: 55.41 kB / 1.232 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.5264, allocations: 312.5 kB / 1.232 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.5264, allocations: 37.7 kB / 1.232 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.5266, allocations: 176.8 kB / 1.232 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.5267, allocations: 130.1 kB / 1.232 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.5268, allocations: 57.7 kB / 1.233 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002538/0.5271, allocations: 346.8 kB / 1.233 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.5273, allocations: 119.7 kB / 1.233 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.5276, allocations: 164 kB / 1.233 GB, free: 0.5312 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.001888/0.5295, allocations: 0.7566 MB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5295, allocations: 0 / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000656/0.5302, allocations: 356.7 kB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.5302, allocations: 8 kB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5302, allocations: 0 / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.5303, allocations: 7.875 kB / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.5306, allocations: 67.91 kB / 1.234 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/0.5306, allocations: 7.984 kB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/0.531, allocations: 19.98 kB / 1.234 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.531, allocations: 23.88 kB / 1.234 GB, free: 15.26 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.0002266/0.5313, allocations: 167.1 kB / 1.234 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.868e-05/0.5314, allocations: 39.53 kB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.5315, allocations: 56 kB / 1.235 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.5315, allocations: 7.984 kB / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.5315, allocations: 3.984 kB / 1.235 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006238/0.5321, allocations: 404.2 kB / 1.235 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.5339, allocations: 1.063 MB / 1.236 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.534, allocations: 4 kB / 1.236 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.5343, allocations: 84.3 kB / 1.236 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/0.5343, allocations: 12 kB / 1.236 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.5344, allocations: 12 kB / 1.236 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.5344, allocations: 7.938 kB / 1.236 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5344, allocations: 4 kB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.5355, allocations: 0.6917 MB / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.5357, allocations: 140.7 kB / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.737e-05/0.5357, allocations: 15.94 kB / 1.237 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.5361, allocations: 31.89 kB / 1.237 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.5362, allocations: 27.97 kB / 1.237 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.5362, allocations: 23.92 kB / 1.237 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002561/0.5365, allocations: 227 kB / 1.237 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5365, allocations: 3.938 kB / 1.237 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000474/0.537, allocations: 112 kB / 1.237 GB, free: 11.93 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.0004175/0.5374, allocations: 165.3 kB / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000671/0.5381, allocations: 319.6 kB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5381, allocations: 0 / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.5384, allocations: 176.7 kB / 1.238 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.5395, allocations: 216.5 kB / 1.238 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.5413, allocations: 1.128 MB / 1.239 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/0.5418, allocations: 0.8274 MB / 1.24 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.542, allocations: 35.44 kB / 1.24 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.542, allocations: 0 / 1.24 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of Templates: time 0.009626/0.5516, allocations: 5.89 MB / 1.246 GB, free: 3.137 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches