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.001053/0.001053, allocations: 112 kB / 16.42 MB, free: 6.512 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.001013/0.001013, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.621/2.621, allocations: 461.9 MB / 0.7355 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 63.91 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7076/0.7087, allocations: 157.4 MB / 1.208 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1533/0.862, allocations: 160.1 MB / 1.365 GB, free: 12.93 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006445/0.8685, allocations: 3.798 MB / 1.369 GB, free: 9.121 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003738/0.8689, allocations: 15.88 kB / 1.369 GB, free: 9.105 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000736/0.8697, allocations: 182.7 kB / 1.369 GB, free: 8.926 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002532/0.8722, allocations: 0.8477 MB / 1.37 GB, free: 8.074 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.8735, allocations: 423.6 kB / 1.37 GB, free: 7.664 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001581/0.8751, allocations: 1.026 MB / 1.371 GB, free: 6.633 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005577/0.8757, allocations: 288.9 kB / 1.371 GB, free: 6.348 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008461/0.8766, allocations: 410.4 kB / 1.372 GB, free: 5.945 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.8777, allocations: 324.1 kB / 1.372 GB, free: 5.629 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 9.023e-05/0.8778, allocations: 32 kB / 1.372 GB, free: 5.598 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.8795, allocations: 0.7131 MB / 1.373 GB, free: 4.883 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.8797, allocations: 151.7 kB / 1.373 GB, free: 4.734 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.88, allocations: 222.9 kB / 1.373 GB, free: 4.516 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.8814, allocations: 0.7496 MB / 1.374 GB, free: 3.766 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.8814, allocations: 0 / 1.374 GB, free: 3.766 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8814, allocations: 0 / 1.374 GB, free: 3.766 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.8814, allocations: 0 / 1.374 GB, free: 3.766 MB / 1.092 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.001078/0.8825, allocations: 0.7401 MB / 1.374 GB, free: 2.977 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.8826, allocations: 12.03 kB / 1.374 GB, free: 2.965 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009782/0.8835, allocations: 143.4 kB / 1.375 GB, free: 2.824 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005188/0.8841, allocations: 398.4 kB / 1.375 GB, free: 2.398 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.8841, allocations: 24.66 kB / 1.375 GB, free: 2.375 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/0.8842, allocations: 35.91 kB / 1.375 GB, free: 2.34 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/0.8847, allocations: 329.9 kB / 1.375 GB, free: 2.008 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.8847, allocations: 3.984 kB / 1.375 GB, free: 2.004 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.8848, allocations: 19.98 kB / 1.375 GB, free: 1.984 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.8848, allocations: 4 kB / 1.375 GB, free: 1.98 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005408/0.8854, allocations: 306.4 kB / 1.376 GB, free: 1.684 MB / 1.092 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.001522/0.8869, allocations: 1.205 MB / 1.377 GB, free: 376 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.8873, allocations: 283.4 kB / 1.377 GB, free: 84 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.8876, allocations: 187.4 kB / 1.377 GB, free: 15.9 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002382/0.8878, allocations: 194.4 kB / 1.377 GB, free: 15.67 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.8879, allocations: 34.84 kB / 1.378 GB, free: 15.63 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.8879, allocations: 4 kB / 1.378 GB, free: 15.62 MB / 1.107 GB Notification: Performance of matching and sorting (n=35): time 0.001882/0.8898, allocations: 1.027 MB / 1.379 GB, free: 14.55 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.8898, allocations: 55.41 kB / 1.379 GB, free: 14.48 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.8901, allocations: 316.5 kB / 1.379 GB, free: 14.17 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.8901, allocations: 29.7 kB / 1.379 GB, free: 14.13 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.8902, allocations: 180.8 kB / 1.379 GB, free: 13.95 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.84e-05/0.8903, allocations: 122.2 kB / 1.379 GB, free: 13.83 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.319e-05/0.8904, allocations: 61.7 kB / 1.379 GB, free: 13.77 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.8906, allocations: 346.8 kB / 1.38 GB, free: 13.42 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.8908, allocations: 119.9 kB / 1.38 GB, free: 13.3 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.891, allocations: 167.8 kB / 1.38 GB, free: 13.13 MB / 1.107 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.001681/0.8927, allocations: 0.7718 MB / 1.381 GB, free: 12.34 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.8927, allocations: 0 / 1.381 GB, free: 12.34 MB / 1.107 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005632/0.8933, allocations: 356.8 kB / 1.381 GB, free: 11.98 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.8933, allocations: 4 kB / 1.381 GB, free: 11.98 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8934, allocations: 4 kB / 1.381 GB, free: 11.97 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.8934, allocations: 0 / 1.381 GB, free: 11.97 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.8937, allocations: 71.84 kB / 1.381 GB, free: 11.9 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.8937, allocations: 0 / 1.381 GB, free: 11.9 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.894, allocations: 20.02 kB / 1.381 GB, free: 11.88 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.8941, allocations: 8 kB / 1.381 GB, free: 11.88 MB / 1.107 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.0001802/0.8942, allocations: 177.7 kB / 1.381 GB, free: 11.69 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.897e-05/0.8943, allocations: 35.62 kB / 1.381 GB, free: 11.66 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.8944, allocations: 48.06 kB / 1.381 GB, free: 11.61 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005126/0.895, allocations: 416.4 kB / 1.382 GB, free: 11.17 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.895, allocations: 4 kB / 1.382 GB, free: 11.17 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.8951, allocations: 144.6 kB / 1.382 GB, free: 11.01 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.8952, allocations: 8 kB / 1.382 GB, free: 11 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.8955, allocations: 11.98 kB / 1.382 GB, free: 10.99 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.8955, allocations: 23.97 kB / 1.382 GB, free: 10.96 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008256/0.8964, allocations: 460.4 kB / 1.382 GB, free: 10.51 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000858/0.8972, allocations: 0.6974 MB / 1.383 GB, free: 9.793 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002386/0.8975, allocations: 151.9 kB / 1.383 GB, free: 9.645 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000192/0.8977, allocations: 227 kB / 1.383 GB, free: 9.422 MB / 1.107 GB Notification: Performance of Backend: time 5.01e-07/0.8977, allocations: 0 / 1.383 GB, free: 9.422 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.8989, allocations: 450.4 kB / 1.384 GB, free: 8.984 MB / 1.107 GB Notification: Performance of SimCode: time 0.001606/0.9005, allocations: 1.316 MB / 1.385 GB, free: 7.621 MB / 1.107 GB Notification: Performance of Templates: time 0.01361/0.9141, allocations: 8.644 MB / 1.394 GB, free: 15.08 MB / 1.123 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/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