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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001708/0.001708, allocations: 107.5 kB / 16.36 MB, free: 5.824 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.001806/0.001806, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.432/2.432, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 76.66 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3245, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.7564/1.081, allocations: 160.1 MB / 1.183 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006022/1.087, allocations: 3.799 MB / 1.187 GB, free: 352 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005446/1.088, allocations: 11.72 kB / 1.187 GB, free: 348 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007581/1.089, allocations: 181.2 kB / 1.187 GB, free: 192 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002571/1.091, allocations: 0.8521 MB / 1.188 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/1.092, allocations: 427 kB / 1.188 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001466/1.094, allocations: 1.019 MB / 1.189 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004706/1.094, allocations: 294.6 kB / 1.19 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007086/1.095, allocations: 397.2 kB / 1.19 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009034/1.096, allocations: 324.4 kB / 1.19 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.411e-05/1.096, allocations: 31.06 kB / 1.19 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/1.097, allocations: 0.7152 MB / 1.191 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002079/1.098, allocations: 162 kB / 1.191 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002614/1.098, allocations: 213.1 kB / 1.191 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/1.099, allocations: 0.7459 MB / 1.192 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.099, allocations: 0 / 1.192 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.503e-06/1.099, allocations: 0 / 1.192 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.237e-05/1.099, allocations: 2.969 kB / 1.192 GB, free: 12.96 MB / 0.9044 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.001163/1.1, allocations: 0.7457 MB / 1.193 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/1.1, allocations: 9.625 kB / 1.193 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/1.101, allocations: 151 kB / 1.193 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006622/1.102, allocations: 399.8 kB / 1.193 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/1.102, allocations: 26.38 kB / 1.193 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.555e-05/1.102, allocations: 27.56 kB / 1.193 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005865/1.103, allocations: 330.4 kB / 1.194 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/1.103, allocations: 1.344 kB / 1.194 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/1.103, allocations: 10.78 kB / 1.194 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/1.103, allocations: 6.469 kB / 1.194 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/1.103, allocations: 307.8 kB / 1.194 GB, free: 11.55 MB / 0.9044 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.001775/1.105, allocations: 1.2 MB / 1.195 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004651/1.106, allocations: 295.6 kB / 1.195 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/1.106, allocations: 179 kB / 1.196 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/1.106, allocations: 190.8 kB / 1.196 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/1.106, allocations: 37.62 kB / 1.196 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 2.344e-06/1.106, allocations: 0 / 1.196 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35): time 0.002125/1.108, allocations: 1.026 MB / 1.197 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/1.109, allocations: 63.97 kB / 1.197 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/1.109, allocations: 320.2 kB / 1.197 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/1.109, allocations: 36.58 kB / 1.197 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/1.109, allocations: 180.5 kB / 1.197 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/1.109, allocations: 122 kB / 1.197 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/1.109, allocations: 59.67 kB / 1.198 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.109, allocations: 346.8 kB / 1.198 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/1.11, allocations: 119.7 kB / 1.198 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/1.11, allocations: 165.5 kB / 1.198 GB, free: 8.27 MB / 0.9044 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.001718/1.112, allocations: 0.7572 MB / 1.199 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/1.112, allocations: 0 / 1.199 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005756/1.112, allocations: 355.1 kB / 1.199 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.112, allocations: 5.094 kB / 1.199 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.112, allocations: 0 / 1.199 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.112, allocations: 2.938 kB / 1.199 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/1.113, allocations: 67.84 kB / 1.199 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/1.113, allocations: 9.531 kB / 1.199 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/1.113, allocations: 19.7 kB / 1.199 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/1.113, allocations: 8.125 kB / 1.199 GB, free: 7.633 MB / 0.9044 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.0002011/1.113, allocations: 178.6 kB / 1.2 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/1.113, allocations: 38.28 kB / 1.2 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/1.113, allocations: 49.97 kB / 1.2 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/1.113, allocations: 7.406 kB / 1.2 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.669e-06/1.113, allocations: 4 kB / 1.2 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005617/1.114, allocations: 410.4 kB / 1.2 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/1.116, allocations: 1.066 MB / 1.201 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/1.116, allocations: 8.328 kB / 1.201 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003488/1.116, allocations: 78.84 kB / 1.201 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/1.116, allocations: 4.969 kB / 1.201 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/1.116, allocations: 15.27 kB / 1.201 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/1.116, allocations: 4.938 kB / 1.201 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/1.116, allocations: 10.47 kB / 1.201 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000933/1.117, allocations: 0.6796 MB / 1.202 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/1.117, allocations: 142.5 kB / 1.202 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/1.117, allocations: 12.45 kB / 1.202 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/1.118, allocations: 25.94 kB / 1.202 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-05/1.118, allocations: 32.92 kB / 1.202 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/1.118, allocations: 16.06 kB / 1.202 GB, free: 5.59 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002301/1.118, allocations: 233.1 kB / 1.202 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.118, allocations: 0 / 1.202 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000455/1.118, allocations: 114.3 kB / 1.202 GB, free: 5.426 MB / 0.9044 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.0004347/1.119, allocations: 179.9 kB / 1.203 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005748/1.119, allocations: 303 kB / 1.203 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.119, allocations: 2.938 kB / 1.203 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002614/1.12, allocations: 174.6 kB / 1.203 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/1.121, allocations: 218.8 kB / 1.203 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/1.122, allocations: 0.9586 MB / 1.204 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/1.123, allocations: 0.8285 MB / 1.205 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003069/1.123, allocations: 105.1 kB / 1.205 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.788e-05/1.123, allocations: 38.89 kB / 1.205 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/1.123, allocations: 4 kB / 1.205 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of Templates: time 0.01267/1.136, allocations: 7.379 MB / 1.212 GB, free: 14.89 MB / 0.92 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches