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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.00166, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002959/0.002959, allocations: 194.2 kB / 16.25 MB, free: 6.633 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.67/1.67, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.608/2.608, allocations: 461.9 MB / 0.7344 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.47 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2334, allocations: 157.4 MB / 1.052 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003241/0.2366, allocations: 2.499 MB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006331/0.2373, allocations: 0.5199 MB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.071e-05/0.2374, allocations: 4 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.2377, allocations: 128.1 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.2378, allocations: 79.47 kB / 1.056 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.404e-05/0.2379, allocations: 35.92 kB / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.2381, allocations: 254.6 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.2383, allocations: 107.1 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.324e-05/0.2384, allocations: 91.64 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.2386, allocations: 103.5 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.2386, allocations: 16 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.194e-05/0.2386, allocations: 20 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.667e-05/0.2387, allocations: 83.69 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.2388, allocations: 150.9 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.2391, allocations: 342.7 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2391, allocations: 0 / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.71e-07/0.2391, allocations: 0 / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2391, allocations: 0 / 1.057 GB, free: 4.184 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.000696/0.2398, allocations: 0.6456 MB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2398, allocations: 12.62 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.585e-05/0.2399, allocations: 50.73 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.24, allocations: 40.47 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.2402, allocations: 306.1 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.2403, allocations: 12.38 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.2403, allocations: 12.38 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.2406, allocations: 141.9 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2406, allocations: 3.938 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.2406, allocations: 8 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2406, allocations: 0 / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.2408, allocations: 103.9 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006859/0.2415, allocations: 0.5894 MB / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.2417, allocations: 86.61 kB / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.433e-05/0.2418, allocations: 52.83 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.2419, allocations: 0 / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.2419, allocations: 34.56 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.2419, allocations: 4 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0003061/0.2422, allocations: 149.1 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.2422, allocations: 51.41 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.2426, allocations: 393.9 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.2426, allocations: 25.7 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.2427, allocations: 212 kB / 1.06 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.2427, allocations: 35.53 kB / 1.06 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.2428, allocations: 33.7 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2429, allocations: 350.7 kB / 1.06 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/0.243, allocations: 27.98 kB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.055e-05/0.2431, allocations: 55.41 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.2432, allocations: 95.36 kB / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2432, allocations: 0 / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002148/0.2434, allocations: 145.5 kB / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2435, allocations: 9.719 kB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2435, allocations: 0 / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.2435, allocations: 0 / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.2436, allocations: 24.17 kB / 1.06 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2436, allocations: 11.94 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.659e-05/0.2437, allocations: 11.84 kB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.2437, allocations: 15.88 kB / 1.06 GB, free: 240 kB / 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.0001207/0.2439, allocations: 159.3 kB / 1.06 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.2439, allocations: 35.61 kB / 1.061 GB, free: 36 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.497e-05/0.244, allocations: 39.27 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.244, allocations: 0 / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.244, allocations: 4 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.244, allocations: 0 / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.2443, allocations: 309.3 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2443, allocations: 0 / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.2444, allocations: 19.98 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.2444, allocations: 4 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.2444, allocations: 0 / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2444, allocations: 0 / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2444, allocations: 3.938 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.2447, allocations: 259 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.2448, allocations: 112.7 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.2449, allocations: 0 / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.245, allocations: 12 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.245, allocations: 7.984 kB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.245, allocations: 0 / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002291/0.2452, allocations: 283.1 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2453, allocations: 0 / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002511/0.2455, allocations: 47.91 kB / 1.062 GB, free: 14.86 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.0005241/0.246, allocations: 0.7941 MB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001842/0.2462, allocations: 80.03 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.2462, allocations: 4 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.711e-05/0.2463, allocations: 28 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.2466, allocations: 25.53 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.2493, allocations: 2.834 MB / 1.065 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.2496, allocations: 0.7949 MB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.946e-05/0.2497, allocations: 12.66 kB / 1.066 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.2498, allocations: 103.4 kB / 1.066 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2498, allocations: 0 / 1.066 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.836/3.086, allocations: 4.77 MB / 1.071 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/3.086, allocations: 216.7 kB / 1.071 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/5.476, allocations: 64 / 1.071 GB, free: 5.18 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > 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/jenkins1/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