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.006715/0.006715, allocations: 96.73 kB / 15.73 MB, free: 6.047 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.001497/0.001497, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.774/2.774, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 68.08 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3953, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.9916/1.387, allocations: 160.6 MB / 1.377 GB, free: 7.781 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006057/1.393, allocations: 3.808 MB / 1.381 GB, free: 5.086 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006137/1.394, allocations: 11.78 kB / 1.381 GB, free: 5.082 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007783/1.394, allocations: 190.4 kB / 1.381 GB, free: 4.973 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002742/1.397, allocations: 0.8724 MB / 1.382 GB, free: 4.461 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00132/1.398, allocations: 430 kB / 1.383 GB, free: 4.152 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001687/1.4, allocations: 1.028 MB / 1.384 GB, free: 3.562 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000465/1.401, allocations: 261.2 kB / 1.384 GB, free: 3.395 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000828/1.401, allocations: 419.1 kB / 1.384 GB, free: 3.152 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000957/1.402, allocations: 322.8 kB / 1.385 GB, free: 2.965 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.775e-05/1.402, allocations: 30.84 kB / 1.385 GB, free: 2.965 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/1.404, allocations: 0.7191 MB / 1.385 GB, free: 2.57 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002228/1.404, allocations: 159.6 kB / 1.385 GB, free: 2.469 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002677/1.405, allocations: 215.9 kB / 1.386 GB, free: 2.332 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001398/1.406, allocations: 0.7493 MB / 1.386 GB, free: 1.863 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.406, allocations: 9.344 kB / 1.386 GB, free: 1.855 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.863e-06/1.406, allocations: 0 / 1.386 GB, free: 1.855 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.328e-06/1.406, allocations: 0 / 1.386 GB, free: 1.855 MB / 1.076 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.001253/1.407, allocations: 0.7425 MB / 1.387 GB, free: 1.219 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.407, allocations: 10.44 kB / 1.387 GB, free: 1.219 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/1.409, allocations: 156.3 kB / 1.387 GB, free: 1.145 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006668/1.409, allocations: 410.2 kB / 1.388 GB, free: 0.7891 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/1.409, allocations: 21.03 kB / 1.388 GB, free: 0.7812 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.119e-05/1.409, allocations: 32.34 kB / 1.388 GB, free: 0.7695 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006502/1.41, allocations: 326.8 kB / 1.388 GB, free: 0.582 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/1.41, allocations: 0 / 1.388 GB, free: 0.582 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/1.41, allocations: 11.97 kB / 1.388 GB, free: 0.5742 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/1.41, allocations: 9.922 kB / 1.388 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006517/1.411, allocations: 312.8 kB / 1.388 GB, free: 436 kB / 1.076 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.002033/1.413, allocations: 1.203 MB / 1.39 GB, free: 15.4 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005566/1.413, allocations: 271.8 kB / 1.39 GB, free: 15.25 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003378/1.414, allocations: 178.7 kB / 1.39 GB, free: 15.16 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003209/1.414, allocations: 195.4 kB / 1.39 GB, free: 14.96 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/1.414, allocations: 37.34 kB / 1.39 GB, free: 14.92 MB / 1.092 GB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/1.414, allocations: 0 / 1.39 GB, free: 14.92 MB / 1.092 GB Notification: Performance of matching and sorting (n=35): time 0.002323/1.416, allocations: 1.036 MB / 1.391 GB, free: 14.26 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/1.416, allocations: 58.88 kB / 1.391 GB, free: 14.19 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/1.417, allocations: 313.3 kB / 1.392 GB, free: 13.99 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/1.417, allocations: 35.95 kB / 1.392 GB, free: 13.95 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/1.417, allocations: 177.1 kB / 1.392 GB, free: 13.79 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/1.417, allocations: 134.2 kB / 1.392 GB, free: 13.67 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/1.417, allocations: 60.11 kB / 1.392 GB, free: 13.63 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001837/1.417, allocations: 346.9 kB / 1.392 GB, free: 13.29 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/1.418, allocations: 113 kB / 1.392 GB, free: 13.24 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/1.418, allocations: 166.2 kB / 1.393 GB, free: 13.15 MB / 1.092 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.002058/1.42, allocations: 0.7565 MB / 1.393 GB, free: 12.72 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.42, allocations: 3.938 kB / 1.393 GB, free: 12.72 MB / 1.092 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007952/1.421, allocations: 367.7 kB / 1.394 GB, free: 12.53 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/1.421, allocations: 5.688 kB / 1.394 GB, free: 12.53 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/1.421, allocations: 0 / 1.394 GB, free: 12.53 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/1.421, allocations: 2.438 kB / 1.394 GB, free: 12.53 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/1.421, allocations: 67.91 kB / 1.394 GB, free: 12.51 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/1.421, allocations: 1.281 kB / 1.394 GB, free: 12.51 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/1.422, allocations: 21.11 kB / 1.394 GB, free: 12.5 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.561e-05/1.422, allocations: 9.406 kB / 1.394 GB, free: 12.5 MB / 1.092 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.0002558/1.422, allocations: 182 kB / 1.394 GB, free: 12.34 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.521e-05/1.422, allocations: 42.06 kB / 1.394 GB, free: 12.32 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/1.422, allocations: 54.14 kB / 1.394 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/1.422, allocations: 7.156 kB / 1.394 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/1.422, allocations: 1.125 kB / 1.394 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000671/1.423, allocations: 408.3 kB / 1.394 GB, free: 11.99 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/1.425, allocations: 1.065 MB / 1.395 GB, free: 11.16 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.425, allocations: 3.438 kB / 1.395 GB, free: 11.16 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/1.425, allocations: 83.48 kB / 1.395 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/1.425, allocations: 6.156 kB / 1.396 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/1.425, allocations: 18.06 kB / 1.396 GB, free: 11.13 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/1.425, allocations: 9.391 kB / 1.396 GB, free: 11.13 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/1.425, allocations: 12.12 kB / 1.396 GB, free: 11.12 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/1.426, allocations: 0.6891 MB / 1.396 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/1.427, allocations: 141.8 kB / 1.396 GB, free: 10.49 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.195e-05/1.427, allocations: 14.39 kB / 1.396 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/1.427, allocations: 20.62 kB / 1.396 GB, free: 10.47 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/1.427, allocations: 34.44 kB / 1.396 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/1.427, allocations: 20.08 kB / 1.396 GB, free: 10.44 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002954/1.427, allocations: 232.8 kB / 1.397 GB, free: 10.29 MB / 1.092 GB Notification: Performance of sort global known variables: time 7.1e-08/1.427, allocations: 0 / 1.397 GB, free: 10.29 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000608/1.428, allocations: 112.8 kB / 1.397 GB, free: 10.27 MB / 1.092 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.0005101/1.428, allocations: 175.1 kB / 1.397 GB, free: 10.15 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0006877/1.429, allocations: 299.5 kB / 1.397 GB, free: 10.02 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.429, allocations: 3.938 kB / 1.397 GB, free: 10.01 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003117/1.429, allocations: 158.4 kB / 1.397 GB, free: 9.945 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/1.431, allocations: 222.9 kB / 1.398 GB, free: 9.84 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/1.432, allocations: 0.9831 MB / 1.399 GB, free: 9.125 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/1.433, allocations: 0.8239 MB / 1.399 GB, free: 8.367 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003669/1.433, allocations: 103.8 kB / 1.399 GB, free: 8.328 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/1.433, allocations: 33.31 kB / 1.399 GB, free: 8.32 MB / 1.092 GB Notification: Performance of SimCode: time 1.092e-06/1.433, allocations: 0 / 1.399 GB, free: 8.32 MB / 1.092 GB Notification: Performance of Templates: time 0.01424/1.448, allocations: 7.485 MB / 1.407 GB, free: 4.621 MB / 1.092 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches