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.008432/0.008432, allocations: 102 kB / 15.73 MB, free: 6.035 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.001752/0.001751, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.808/2.808, allocations: 461.9 MB / 0.7348 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.91 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3331, allocations: 157.4 MB / 1.208 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.9543/1.288, allocations: 160.1 MB / 1.364 GB, free: 6.246 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006823/1.294, allocations: 3.801 MB / 1.368 GB, free: 3.555 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009211/1.295, allocations: 12.22 kB / 1.368 GB, free: 3.551 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/1.296, allocations: 189.5 kB / 1.368 GB, free: 3.434 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003205/1.3, allocations: 0.8766 MB / 1.369 GB, free: 2.965 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001348/1.301, allocations: 425.7 kB / 1.369 GB, free: 2.762 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002463/1.304, allocations: 1.023 MB / 1.37 GB, free: 2.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008981/1.304, allocations: 300.8 kB / 1.371 GB, free: 2.191 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/1.306, allocations: 428 kB / 1.371 GB, free: 2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/1.307, allocations: 313.3 kB / 1.371 GB, free: 1.875 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/1.307, allocations: 30.59 kB / 1.371 GB, free: 1.875 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/1.31, allocations: 0.7203 MB / 1.372 GB, free: 1.586 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003136/1.31, allocations: 162.2 kB / 1.372 GB, free: 1.523 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005046/1.31, allocations: 210.3 kB / 1.372 GB, free: 1.406 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001984/1.312, allocations: 0.7522 MB / 1.373 GB, free: 1.145 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.312, allocations: 0 / 1.373 GB, free: 1.145 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.853e-06/1.312, allocations: 1.125 kB / 1.373 GB, free: 1.145 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.241e-05/1.312, allocations: 0 / 1.373 GB, free: 1.145 MB / 1.061 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.001785/1.314, allocations: 0.7427 MB / 1.374 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/1.314, allocations: 9.406 kB / 1.374 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/1.316, allocations: 145.3 kB / 1.374 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007704/1.316, allocations: 400.8 kB / 1.374 GB, free: 224 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/1.316, allocations: 21.66 kB / 1.374 GB, free: 216 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.113e-05/1.316, allocations: 40.94 kB / 1.374 GB, free: 196 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000693/1.317, allocations: 325.4 kB / 1.375 GB, free: 4 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/1.317, allocations: 0 / 1.375 GB, free: 4 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/1.317, allocations: 11.45 kB / 1.375 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/1.317, allocations: 7.219 kB / 1.375 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006423/1.318, allocations: 315.3 kB / 1.375 GB, free: 15.84 MB / 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.002125/1.32, allocations: 1.204 MB / 1.376 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/1.321, allocations: 287.8 kB / 1.376 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/1.321, allocations: 188.1 kB / 1.377 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002958/1.321, allocations: 186.4 kB / 1.377 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/1.321, allocations: 39.19 kB / 1.377 GB, free: 14.34 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 2.064e-06/1.321, allocations: 4 kB / 1.377 GB, free: 14.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=35): time 0.002408/1.324, allocations: 1.031 MB / 1.378 GB, free: 13.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/1.324, allocations: 59.12 kB / 1.378 GB, free: 13.61 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/1.324, allocations: 320.9 kB / 1.378 GB, free: 13.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/1.324, allocations: 32.39 kB / 1.378 GB, free: 13.37 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/1.324, allocations: 176.8 kB / 1.378 GB, free: 13.21 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/1.324, allocations: 121.6 kB / 1.379 GB, free: 13.11 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/1.325, allocations: 59.23 kB / 1.379 GB, free: 13.07 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.325, allocations: 344.3 kB / 1.379 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/1.325, allocations: 116.5 kB / 1.379 GB, free: 12.68 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/1.325, allocations: 166.5 kB / 1.379 GB, free: 12.58 MB / 1.076 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.0019/1.327, allocations: 0.7602 MB / 1.38 GB, free: 12.15 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.327, allocations: 0 / 1.38 GB, free: 12.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007042/1.328, allocations: 358.2 kB / 1.38 GB, free: 11.97 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.328, allocations: 5.438 kB / 1.38 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.328, allocations: 1.188 kB / 1.38 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/1.328, allocations: 1.156 kB / 1.38 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/1.328, allocations: 76.88 kB / 1.38 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.328, allocations: 1.062 kB / 1.38 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003941/1.329, allocations: 14.36 kB / 1.38 GB, free: 11.94 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/1.329, allocations: 12.88 kB / 1.38 GB, free: 11.93 MB / 1.076 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.0002391/1.329, allocations: 174.5 kB / 1.381 GB, free: 11.78 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.103e-05/1.329, allocations: 34.09 kB / 1.381 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/1.329, allocations: 49.69 kB / 1.381 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/1.329, allocations: 11.84 kB / 1.381 GB, free: 11.72 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.329, allocations: 5.188 kB / 1.381 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006169/1.33, allocations: 408.8 kB / 1.381 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/1.332, allocations: 1.076 MB / 1.382 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/1.332, allocations: 4.438 kB / 1.382 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004055/1.333, allocations: 78.81 kB / 1.382 GB, free: 10.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/1.333, allocations: 6 kB / 1.382 GB, free: 10.58 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/1.333, allocations: 18.36 kB / 1.382 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.121e-05/1.333, allocations: 7.625 kB / 1.382 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/1.333, allocations: 11.81 kB / 1.382 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/1.334, allocations: 0.6809 MB / 1.383 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/1.334, allocations: 141.8 kB / 1.383 GB, free: 9.934 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.495e-05/1.334, allocations: 13.88 kB / 1.383 GB, free: 9.926 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/1.335, allocations: 25.39 kB / 1.383 GB, free: 9.91 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/1.335, allocations: 28.72 kB / 1.383 GB, free: 9.895 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/1.335, allocations: 13.47 kB / 1.383 GB, free: 9.895 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003152/1.335, allocations: 236.7 kB / 1.383 GB, free: 9.738 MB / 1.076 GB Notification: Performance of sort global known variables: time 2e-07/1.335, allocations: 4 kB / 1.383 GB, free: 9.734 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006753/1.336, allocations: 109 kB / 1.383 GB, free: 9.723 MB / 1.076 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.0005813/1.336, allocations: 174 kB / 1.384 GB, free: 9.594 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007286/1.337, allocations: 307 kB / 1.384 GB, free: 9.461 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.337, allocations: 0.9688 kB / 1.384 GB, free: 9.461 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003436/1.338, allocations: 166.3 kB / 1.384 GB, free: 9.391 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/1.339, allocations: 219 kB / 1.384 GB, free: 9.289 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/1.341, allocations: 0.9702 MB / 1.385 GB, free: 8.59 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/1.341, allocations: 0.8243 MB / 1.386 GB, free: 7.832 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000405/1.341, allocations: 97.83 kB / 1.386 GB, free: 7.793 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/1.342, allocations: 41.55 kB / 1.386 GB, free: 7.777 MB / 1.076 GB Notification: Performance of SimCode: time 7.11e-07/1.342, allocations: 0 / 1.386 GB, free: 7.777 MB / 1.076 GB Notification: Performance of Templates: time 0.01617/1.358, allocations: 7.444 MB / 1.393 GB, free: 4.102 MB / 1.076 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