Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001787/0.001787, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001721/0.001721, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.763/2.763, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 70.28 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4156, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004357/0.42, allocations: 2.489 MB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.4211, allocations: 0.5277 MB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.4214, allocations: 4 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005831/0.422, allocations: 123.8 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.4223, allocations: 87.41 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.4225, allocations: 35.98 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.4227, allocations: 242.6 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.423, allocations: 95.2 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.4231, allocations: 75.72 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.4233, allocations: 107.4 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.4233, allocations: 12 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.116e-05/0.4234, allocations: 12 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.4235, allocations: 79.62 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.4236, allocations: 143 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.4239, allocations: 330.7 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4239, allocations: 0 / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4239, allocations: 0 / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.4239, allocations: 4 kB / 1.056 GB, free: 4.492 MB / 0.8106 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.0008862/0.4248, allocations: 0.6417 MB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4249, allocations: 8.031 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.702e-05/0.425, allocations: 40.47 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.4253, allocations: 306.1 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.4254, allocations: 16.38 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.4254, allocations: 16.38 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.4257, allocations: 141.9 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.4257, allocations: 192 / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.4258, allocations: 11.94 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4258, allocations: 0 / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.426, allocations: 95.95 kB / 1.058 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008205/0.4268, allocations: 0.5934 MB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.4271, allocations: 86.61 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.4272, allocations: 44.89 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.4272, allocations: 0 / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.4273, allocations: 42.5 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.4273, allocations: 0 / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0003625/0.4276, allocations: 149.1 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.4277, allocations: 55.41 kB / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.4281, allocations: 382 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.4281, allocations: 33.69 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.4283, allocations: 212 kB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.4283, allocations: 35.53 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/0.4284, allocations: 25.72 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4285, allocations: 354.7 kB / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.718e-05/0.4286, allocations: 32.3 kB / 1.06 GB, free: 1 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.829e-05/0.4287, allocations: 51.42 kB / 1.06 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.4289, allocations: 95.3 kB / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4289, allocations: 0 / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002362/0.4291, allocations: 145.1 kB / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4291, allocations: 8 kB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.4292, allocations: 3.984 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.4292, allocations: 0 / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.4293, allocations: 27.94 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.4293, allocations: 7.984 kB / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.57e-05/0.4294, allocations: 15.94 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.4294, allocations: 4 kB / 1.06 GB, free: 0.6172 MB / 0.8106 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.0001492/0.4296, allocations: 161.8 kB / 1.06 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.4296, allocations: 31.62 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.379e-05/0.4297, allocations: 43.2 kB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4297, allocations: 0 / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4297, allocations: 0 / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4297, allocations: 0 / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.4301, allocations: 317.4 kB / 1.06 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4301, allocations: 0 / 1.06 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.4302, allocations: 23.92 kB / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4302, allocations: 4 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.4302, allocations: 0 / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4303, allocations: 0 / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4303, allocations: 4 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.4306, allocations: 263 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.14e-05/0.4307, allocations: 108.7 kB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.4307, allocations: 3.984 kB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.935e-05/0.4308, allocations: 4 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.4309, allocations: 8 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.4309, allocations: 3.984 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002603/0.4312, allocations: 275.1 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4312, allocations: 0 / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002766/0.4314, allocations: 51.78 kB / 1.061 GB, free: 15.24 MB / 0.8262 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.0001403/0.4316, allocations: 103.3 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.4319, allocations: 75.84 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4319, allocations: 3.938 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.625e-05/0.432, allocations: 32 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.4324, allocations: 25.55 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.4336, allocations: 0.7602 MB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.4341, allocations: 0.81 MB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.334e-05/0.4342, allocations: 12.64 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.4342, allocations: 15.44 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.4342, allocations: 0 / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of Templates: time 0.004848/0.4391, allocations: 1.194 MB / 1.064 GB, free: 12.16 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches