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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000822/0.000822, allocations: 76.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008584/0.0008584, allocations: 173.2 kB / 22.46 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8783/0.8783, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.789/1.789, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.551e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002532/0.002548, allocations: 2.356 MB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007034/0.003251, allocations: 0.5042 MB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.918e-05/0.00334, allocations: 7.938 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.003639, allocations: 120.4 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.003748, allocations: 95.27 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.003854, allocations: 43.94 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.004031, allocations: 258.5 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.004199, allocations: 75.66 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.004374, allocations: 135.7 kB / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.004483, allocations: 71.73 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.004513, allocations: 20 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 2.222e-05/0.004536, allocations: 16 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.177e-05/0.004607, allocations: 87.69 kB / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.739e-05/0.004665, allocations: 79.73 kB / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.0049, allocations: 334.7 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.004902, allocations: 0 / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.332e-06/0.004903, allocations: 0 / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.004908, allocations: 4 kB / 1.004 GB, free: 9.301 MB / 0.9636 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.0005785/0.005486, allocations: 0.5818 MB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.005528, allocations: 8.75 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.005567, allocations: 46.73 kB / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.005611, allocations: 48.64 kB / 1.004 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.005874, allocations: 247.9 kB / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.005888, allocations: 12.38 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.005913, allocations: 20.38 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.00611, allocations: 141.9 kB / 1.005 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.006121, allocations: 192 / 1.005 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.006133, allocations: 8.375 kB / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.006141, allocations: 8.125 kB / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.00629, allocations: 87.95 kB / 1.005 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005705/0.006861, allocations: 0.5149 MB / 1.005 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.007039, allocations: 78.62 kB / 1.006 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.364e-05/0.007103, allocations: 44.88 kB / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.007113, allocations: 4 kB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.00713, allocations: 34.5 kB / 1.006 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.007131, allocations: 0 / 1.006 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0002319/0.007363, allocations: 153.6 kB / 1.006 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.00739, allocations: 51.41 kB / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.007646, allocations: 393.9 kB / 1.006 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.007658, allocations: 29.7 kB / 1.006 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.007768, allocations: 224.2 kB / 1.006 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.007789, allocations: 31.7 kB / 1.006 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.007826, allocations: 29.7 kB / 1.006 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.007911, allocations: 346.7 kB / 1.007 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.566e-05/0.007957, allocations: 28 kB / 1.007 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.7e-05/0.008014, allocations: 59.41 kB / 1.007 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.008121, allocations: 95.36 kB / 1.007 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.008123, allocations: 0 / 1.007 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001416/0.008265, allocations: 153.2 kB / 1.007 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.008278, allocations: 4 kB / 1.007 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.008283, allocations: 0 / 1.007 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.008295, allocations: 4 kB / 1.007 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.008363, allocations: 27.92 kB / 1.007 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.008367, allocations: 0 / 1.007 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.397e-05/0.008411, allocations: 19.98 kB / 1.007 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.008418, allocations: 4 kB / 1.007 GB, free: 5.578 MB / 0.9636 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.0001053/0.008524, allocations: 161.8 kB / 1.007 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.00855, allocations: 39.75 kB / 1.007 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.00859, allocations: 39.28 kB / 1.007 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.008592, allocations: 0 / 1.007 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.008596, allocations: 0 / 1.007 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.0086, allocations: 4 kB / 1.007 GB, free: 5.332 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.00881, allocations: 264.8 kB / 1.008 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008811, allocations: 0 / 1.008 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.724e-05/0.008878, allocations: 27.86 kB / 1.008 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.008882, allocations: 7.984 kB / 1.008 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.008891, allocations: 4 kB / 1.008 GB, free: 4.992 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.008892, allocations: 0 / 1.008 GB, free: 4.992 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008893, allocations: 0 / 1.008 GB, free: 4.992 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.009128, allocations: 255.2 kB / 1.008 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.009171, allocations: 39.78 kB / 1.008 GB, free: 4.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.009188, allocations: 4 kB / 1.008 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.553e-05/0.009234, allocations: 0 / 1.008 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.009268, allocations: 7.984 kB / 1.008 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.009273, allocations: 4.062 kB / 1.008 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.000188/0.00946, allocations: 283.1 kB / 1.008 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.009461, allocations: 0 / 1.008 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001832/0.009644, allocations: 47.89 kB / 1.008 GB, free: 4.352 MB / 0.9636 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.0003755/0.01002, allocations: 0.7825 MB / 1.009 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001365/0.01016, allocations: 71.84 kB / 1.009 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01016, allocations: 4.625 kB / 1.009 GB, free: 3.469 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.125e-05/0.0102, allocations: 31.94 kB / 1.009 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.01044, allocations: 35.81 kB / 1.009 GB, free: 3.406 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.01246, allocations: 2.683 MB / 1.012 GB, free: 0.6172 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.01258, allocations: 191 kB / 1.012 GB, free: 420 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.009e-05/0.01263, allocations: 20.62 kB / 1.012 GB, free: 400 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.04e-05/0.01272, allocations: 100.4 kB / 1.012 GB, free: 300 kB / 0.9636 GB Notification: Performance of SimCode: time 7.21e-07/0.01273, allocations: 0 / 1.012 GB, free: 300 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.03251, allocations: 5.622 MB / 1.018 GB, free: 10.84 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.833/6.865, allocations: 12.33 kB / 1.018 GB, free: 10.83 MB / 0.9792 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv --start-time 0 --stop-time 1500 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv","/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) [Timeout 300] "Error: Could not read variable eng.TRoo.T in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TRoo.T from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.TWat.T in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TWat.T from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.QGen_flow in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.QGen_flow from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable per.capEng in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable per.capEng from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.TEng in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TEng from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.047144077718258]