Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.39/2.39, allocations: 443.5 MB / 0.7304 GB, free: 13.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.89 kB / 1.059 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2647, allocations: 160.7 MB / 1.216 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003754/0.2684, allocations: 2.483 MB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009339/0.2693, allocations: 0.5392 MB / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.2695, allocations: 8 kB / 1.219 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003854/0.2699, allocations: 131.4 kB / 1.219 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.2701, allocations: 91.27 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001133/0.2702, allocations: 39.97 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000275/0.2704, allocations: 242.7 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.2706, allocations: 83.12 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.2707, allocations: 83.61 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.2709, allocations: 103.5 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.2709, allocations: 16 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.669e-05/0.271, allocations: 20 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.2711, allocations: 79.69 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.2712, allocations: 155 kB / 1.22 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.2716, allocations: 350.2 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2716, allocations: 0 / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2716, allocations: 0 / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.2716, allocations: 0 / 1.22 GB, free: 11.48 MB / 0.9669 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.0008763/0.2725, allocations: 0.6609 MB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2725, allocations: 12.03 kB / 1.221 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.978e-05/0.2726, allocations: 46.73 kB / 1.221 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.9e-05/0.2726, allocations: 44.66 kB / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.273, allocations: 306.5 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.273, allocations: 12.38 kB / 1.221 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.273, allocations: 12.38 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.2733, allocations: 145.9 kB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.2733, allocations: 3.938 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.2733, allocations: 4 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2733, allocations: 4 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002318/0.2736, allocations: 99.89 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008067/0.2744, allocations: 0.5899 MB / 1.222 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.2746, allocations: 78.56 kB / 1.222 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.2747, allocations: 44.88 kB / 1.222 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.2747, allocations: 0 / 1.222 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.2747, allocations: 38.56 kB / 1.222 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 8.52e-07/0.2747, allocations: 0 / 1.222 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0003575/0.2751, allocations: 149.3 kB / 1.222 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.2751, allocations: 55.41 kB / 1.222 GB, free: 9 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/0.2755, allocations: 386 kB / 1.222 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.2755, allocations: 33.7 kB / 1.222 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.2757, allocations: 220.1 kB / 1.223 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.2757, allocations: 27.75 kB / 1.223 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.2758, allocations: 29.7 kB / 1.223 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.2759, allocations: 358.7 kB / 1.223 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.609e-05/0.276, allocations: 23.98 kB / 1.223 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.138e-05/0.2761, allocations: 55.42 kB / 1.223 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.2763, allocations: 87.36 kB / 1.223 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2763, allocations: 0 / 1.223 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002442/0.2765, allocations: 153.2 kB / 1.223 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2765, allocations: 5.719 kB / 1.223 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2765, allocations: 0 / 1.223 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.2765, allocations: 4 kB / 1.223 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.2767, allocations: 27.98 kB / 1.223 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.2767, allocations: 0 / 1.223 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.857e-05/0.2767, allocations: 15.98 kB / 1.223 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.2767, allocations: 7.938 kB / 1.223 GB, free: 7.531 MB / 0.9669 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.0001477/0.2769, allocations: 166.2 kB / 1.224 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.2769, allocations: 35.77 kB / 1.224 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.89e-05/0.277, allocations: 39.22 kB / 1.224 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.277, allocations: 0 / 1.224 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.277, allocations: 0 / 1.224 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.277, allocations: 3.938 kB / 1.224 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.2773, allocations: 313.5 kB / 1.224 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2773, allocations: 4 kB / 1.224 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.2775, allocations: 23.98 kB / 1.224 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2775, allocations: 0 / 1.224 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.2775, allocations: 4 kB / 1.224 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2775, allocations: 0 / 1.224 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2775, allocations: 0 / 1.224 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.2778, allocations: 267 kB / 1.224 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.008e-05/0.2779, allocations: 120.9 kB / 1.224 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.2779, allocations: 0 / 1.224 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.463e-05/0.278, allocations: 4 kB / 1.224 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.2781, allocations: 7.984 kB / 1.224 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.2781, allocations: 4 kB / 1.224 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002759/0.2783, allocations: 275.1 kB / 1.225 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2783, allocations: 0 / 1.225 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000259/0.2786, allocations: 47.89 kB / 1.225 GB, free: 6.152 MB / 0.9669 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.0006499/0.2792, allocations: 0.7903 MB / 1.225 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002011/0.2794, allocations: 72.05 kB / 1.226 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2794, allocations: 0 / 1.226 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.007e-05/0.2795, allocations: 36.17 kB / 1.226 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.2799, allocations: 25.55 kB / 1.226 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.283, allocations: 2.718 MB / 1.228 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.2834, allocations: 0.8026 MB / 1.229 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.454e-05/0.2835, allocations: 16.64 kB / 1.229 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.2836, allocations: 103.4 kB / 1.229 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.2836, allocations: 0 / 1.229 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.3118, allocations: 4.942 MB / 1.234 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.344/7.655, allocations: 6.844 kB / 1.234 GB, free: 12.63 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv --start-time 0 --stop-time 1500 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TRoo.T from file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.TWat.T in file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TWat.T from file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.QGen_flow in file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.QGen_flow from file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable per.capEng in file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable per.capEng from file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.TEng in file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TEng from file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.018830854998669]