Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005542/0.005543, allocations: 101 kB / 15.88 MB, free: 6.328 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.00133/0.00133, allocations: 193.5 kB / 16.79 MB, free: 6.254 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.374/1.374, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.347/2.347, allocations: 390.2 MB / 0.6649 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 59.91 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7431/0.7455, allocations: 140.4 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003352/0.7489, allocations: 2.503 MB / 0.952 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007359/0.7496, allocations: 0.5155 MB / 0.9525 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.38e-05/0.7497, allocations: 2.75 kB / 0.9525 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.7501, allocations: 120.4 kB / 0.9526 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.7503, allocations: 85.48 kB / 0.9527 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001061/0.7504, allocations: 32.98 kB / 0.9528 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.7506, allocations: 237.5 kB / 0.953 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.7508, allocations: 98.48 kB / 0.9531 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.751, allocations: 76 kB / 0.9531 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.7511, allocations: 98.22 kB / 0.9532 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.7511, allocations: 11.47 kB / 0.9533 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.335e-05/0.7512, allocations: 12.34 kB / 0.9533 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.564e-05/0.7513, allocations: 84.67 kB / 0.9533 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.7514, allocations: 147.5 kB / 0.9535 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.7516, allocations: 262.6 kB / 0.9537 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.7516, allocations: 1.281 kB / 0.9537 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.92e-07/0.7516, allocations: 0 / 0.9537 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.7516, allocations: 0 / 0.9537 GB, free: 5.98 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007243/0.7523, allocations: 0.6379 MB / 0.9544 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.7524, allocations: 9.156 kB / 0.9544 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.7525, allocations: 45.31 kB / 0.9544 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.7527, allocations: 307.5 kB / 0.9547 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.7528, allocations: 10.06 kB / 0.9547 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.7528, allocations: 14.16 kB / 0.9547 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.7531, allocations: 140.9 kB / 0.9549 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.7531, allocations: 5.5 kB / 0.9549 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.7531, allocations: 9.344 kB / 0.9549 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-06/0.7531, allocations: 6.406 kB / 0.9549 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.7534, allocations: 98.42 kB / 0.955 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007891/0.7542, allocations: 0.5876 MB / 0.9555 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.7544, allocations: 86.88 kB / 0.9556 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.7545, allocations: 52.03 kB / 0.9557 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.7546, allocations: 1.375 kB / 0.9557 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.37e-05/0.7546, allocations: 30.56 kB / 0.9557 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.7546, allocations: 1.375 kB / 0.9557 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003479/0.7549, allocations: 145.6 kB / 0.9559 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.755, allocations: 56.5 kB / 0.9559 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003621/0.7553, allocations: 393.8 kB / 0.9563 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.7554, allocations: 27.23 kB / 0.9563 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.7555, allocations: 225.3 kB / 0.9565 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.7555, allocations: 28 kB / 0.9565 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.7556, allocations: 29.83 kB / 0.9566 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.7556, allocations: 352.4 kB / 0.9569 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.433e-05/0.7557, allocations: 25.77 kB / 0.9569 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-05/0.7558, allocations: 54.22 kB / 0.957 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.7559, allocations: 93.05 kB / 0.9571 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7559, allocations: 0 / 0.9571 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002199/0.7562, allocations: 150.5 kB / 0.9572 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.7562, allocations: 6.125 kB / 0.9572 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.7562, allocations: 0 / 0.9572 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.7562, allocations: 2.844 kB / 0.9572 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.7563, allocations: 27.42 kB / 0.9573 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.7564, allocations: 5.5 kB / 0.9573 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.026e-05/0.7564, allocations: 13.53 kB / 0.9573 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.7565, allocations: 3.219 kB / 0.9573 GB, free: 3.004 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 13 * 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.0001155/0.7566, allocations: 168.2 kB / 0.9574 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.7566, allocations: 34.66 kB / 0.9575 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.609e-05/0.7567, allocations: 38.25 kB / 0.9575 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7567, allocations: 1.438 kB / 0.9575 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7567, allocations: 0 / 0.9575 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.7567, allocations: 0 / 0.9575 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.757, allocations: 316.6 kB / 0.9578 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.757, allocations: 1.312 kB / 0.9578 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.7571, allocations: 19.39 kB / 0.9578 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.7571, allocations: 0 / 0.9578 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.7571, allocations: 9.25 kB / 0.9578 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.7571, allocations: 1.469 kB / 0.9578 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7571, allocations: 0 / 0.9578 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.7574, allocations: 261.8 kB / 0.9581 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.7575, allocations: 114.2 kB / 0.9582 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.7575, allocations: 5.375 kB / 0.9582 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.7576, allocations: 1.375 kB / 0.9582 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.7577, allocations: 6.734 kB / 0.9582 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.7577, allocations: 6.688 kB / 0.9582 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002308/0.7579, allocations: 281.5 kB / 0.9585 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7579, allocations: 0 / 0.9585 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002712/0.7582, allocations: 50.25 kB / 0.9585 GB, free: 1.977 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * 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 (9): * Single equations (assignments): 9 * 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.0001056/0.7583, allocations: 101.7 kB / 0.9586 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.7585, allocations: 73.62 kB / 0.9587 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7585, allocations: 3.938 kB / 0.9587 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.327e-05/0.7586, allocations: 37.2 kB / 0.9587 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.759, allocations: 16.84 kB / 0.9588 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.76, allocations: 0.8013 MB / 0.9595 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.7603, allocations: 0.8005 MB / 0.9603 GB, free: 496 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.7603, allocations: 14.31 kB / 0.9603 GB, free: 492 kB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.7603, allocations: 0 / 0.9603 GB, free: 492 kB / 0.7169 GB Notification: Performance of Templates: time 0.004925/0.7652, allocations: 2.976 MB / 0.9632 GB, free: 14.81 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches