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.001204/0.001204, allocations: 108 kB / 15.6 MB, free: 132 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.001222/0.001222, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.777/2.777, allocations: 472.6 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.28 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3189, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.175/0.494, allocations: 160.1 MB / 1.225 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004956/0.499, allocations: 3.81 MB / 1.228 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003041/0.4994, allocations: 15.88 kB / 1.228 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005984/0.5, allocations: 182.7 kB / 1.228 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.5019, allocations: 0.8439 MB / 1.229 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009019/0.5028, allocations: 422.6 kB / 1.23 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001072/0.5039, allocations: 1.022 MB / 1.231 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004237/0.5043, allocations: 292.9 kB / 1.231 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005535/0.5049, allocations: 406.4 kB / 1.231 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007768/0.5057, allocations: 314.3 kB / 1.232 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.355e-05/0.5057, allocations: 32 kB / 1.232 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.5069, allocations: 0.717 MB / 1.232 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.5071, allocations: 163.5 kB / 1.233 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.5073, allocations: 211 kB / 1.233 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009536/0.5083, allocations: 0.7401 MB / 1.234 GB, free: 488 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5083, allocations: 0 / 1.234 GB, free: 488 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5083, allocations: 7.938 kB / 1.234 GB, free: 480 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.5083, allocations: 3.984 kB / 1.234 GB, free: 476 kB / 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.001042/0.5094, allocations: 0.7284 MB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.5094, allocations: 8.031 kB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.5105, allocations: 151.4 kB / 1.234 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.511, allocations: 382.5 kB / 1.235 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.5111, allocations: 20.66 kB / 1.235 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/0.5111, allocations: 35.91 kB / 1.235 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/0.5117, allocations: 329.9 kB / 1.235 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.5117, allocations: 0 / 1.235 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.5117, allocations: 20 kB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.5117, allocations: 8 kB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005363/0.5123, allocations: 302.4 kB / 1.235 GB, free: 14.41 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.00161/0.5139, allocations: 1.212 MB / 1.237 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004588/0.5144, allocations: 280.4 kB / 1.237 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/0.5147, allocations: 183.7 kB / 1.237 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000272/0.515, allocations: 194.5 kB / 1.237 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.515, allocations: 34.84 kB / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.515, allocations: 7.875 kB / 1.237 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.002048/0.5171, allocations: 1.03 MB / 1.238 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.5171, allocations: 55.41 kB / 1.238 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.5174, allocations: 320.5 kB / 1.239 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.5175, allocations: 33.7 kB / 1.239 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.5176, allocations: 176.8 kB / 1.239 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.5177, allocations: 126.1 kB / 1.239 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.946e-05/0.5178, allocations: 57.7 kB / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.518, allocations: 350.8 kB / 1.239 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.5182, allocations: 115.7 kB / 1.239 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.5185, allocations: 159.8 kB / 1.24 GB, free: 9.852 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.001794/0.5203, allocations: 0.7729 MB / 1.24 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.5203, allocations: 0 / 1.24 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005873/0.5209, allocations: 349 kB / 1.241 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.5209, allocations: 4 kB / 1.241 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5209, allocations: 4.031 kB / 1.241 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.5209, allocations: 19.81 kB / 1.241 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.5213, allocations: 59.97 kB / 1.241 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.5213, allocations: 11.92 kB / 1.241 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.5216, allocations: 12 kB / 1.241 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.5217, allocations: 15.98 kB / 1.241 GB, free: 8.586 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.0002037/0.5219, allocations: 169.8 kB / 1.241 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.383e-05/0.522, allocations: 31.62 kB / 1.241 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.5221, allocations: 56.06 kB / 1.241 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.5221, allocations: 7.938 kB / 1.241 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.5221, allocations: 0 / 1.241 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005565/0.5227, allocations: 408.4 kB / 1.241 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.5243, allocations: 1.065 MB / 1.243 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5243, allocations: 4 kB / 1.243 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/0.5247, allocations: 87.83 kB / 1.243 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.5247, allocations: 4 kB / 1.243 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.5247, allocations: 12 kB / 1.243 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.5248, allocations: 7.938 kB / 1.243 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5248, allocations: 4.406 kB / 1.243 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009165/0.5257, allocations: 0.6912 MB / 1.243 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.5259, allocations: 144.6 kB / 1.243 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.751e-05/0.5259, allocations: 11.94 kB / 1.243 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/0.5263, allocations: 23.98 kB / 1.243 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.5264, allocations: 23.97 kB / 1.243 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.5264, allocations: 27.94 kB / 1.244 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002274/0.5266, allocations: 231 kB / 1.244 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5266, allocations: 0 / 1.244 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004807/0.5271, allocations: 108 kB / 1.244 GB, free: 5.27 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.0003968/0.5275, allocations: 179.5 kB / 1.244 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006165/0.5282, allocations: 320.1 kB / 1.244 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5282, allocations: 8 kB / 1.244 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.5285, allocations: 175.7 kB / 1.244 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.5296, allocations: 217 kB / 1.245 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.5311, allocations: 0.9612 MB / 1.246 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.5315, allocations: 0.8313 MB / 1.246 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003554/0.5319, allocations: 103.2 kB / 1.247 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.504e-05/0.532, allocations: 35.44 kB / 1.247 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/0.532, allocations: 3.938 kB / 1.247 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of Templates: time 0.5442/1.076, allocations: 7.386 MB / 1.254 GB, free: 185 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