Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001134/0.001134, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001325/0.001325, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8684/0.8684, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.707/1.707, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.318e-05/1.453e-05, allocations: 2.281 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003343/0.003357, allocations: 2.353 MB / 0.9833 GB, free: 204 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007732/0.00413, allocations: 0.5197 MB / 0.9838 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.617e-05/0.004227, allocations: 4 kB / 0.9838 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.004551, allocations: 111.3 kB / 0.9839 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.004713, allocations: 107.1 kB / 0.984 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.004825, allocations: 35.95 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.005071, allocations: 254.5 kB / 0.9843 GB, free: 15.18 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.005238, allocations: 79.52 kB / 0.9843 GB, free: 15.1 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.005386, allocations: 123.8 kB / 0.9845 GB, free: 14.98 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.005501, allocations: 67.75 kB / 0.9845 GB, free: 14.91 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.005538, allocations: 20 kB / 0.9846 GB, free: 14.89 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.23e-05/0.00557, allocations: 20 kB / 0.9846 GB, free: 14.87 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.282e-05/0.005653, allocations: 87.61 kB / 0.9847 GB, free: 14.79 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.207e-05/0.005735, allocations: 91.72 kB / 0.9847 GB, free: 14.7 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.00605, allocations: 334.7 kB / 0.9851 GB, free: 14.37 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.006051, allocations: 0 / 0.9851 GB, free: 14.37 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.52e-07/0.006052, allocations: 0 / 0.9851 GB, free: 14.37 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.006057, allocations: 0 / 0.9851 GB, free: 14.37 MB / 0.948 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.0006721/0.006729, allocations: 0.574 MB / 0.9856 GB, free: 13.76 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.006769, allocations: 12.03 kB / 0.9856 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.598e-05/0.006815, allocations: 46.73 kB / 0.9857 GB, free: 13.69 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.006874, allocations: 52.66 kB / 0.9857 GB, free: 13.64 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005422/0.007416, allocations: 251.9 kB / 0.986 GB, free: 13.37 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.007434, allocations: 16.12 kB / 0.986 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.007467, allocations: 12.38 kB / 0.986 GB, free: 13.34 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.007703, allocations: 134.2 kB / 0.9861 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.007714, allocations: 192 / 0.9861 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.007728, allocations: 4.375 kB / 0.9861 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.007733, allocations: 8.125 kB / 0.9861 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.007941, allocations: 101.5 kB / 0.9862 GB, free: 13.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006784/0.008619, allocations: 0.5262 MB / 0.9867 GB, free: 12.53 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.008839, allocations: 78.55 kB / 0.9868 GB, free: 12.44 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.478e-05/0.008924, allocations: 44.95 kB / 0.9869 GB, free: 12.39 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.008937, allocations: 0 / 0.9869 GB, free: 12.39 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.008957, allocations: 34.56 kB / 0.9869 GB, free: 12.35 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.008958, allocations: 0 / 0.9869 GB, free: 12.35 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0002988/0.009257, allocations: 157.3 kB / 0.987 GB, free: 12.19 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.009297, allocations: 55.41 kB / 0.9871 GB, free: 12.12 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.009666, allocations: 393.9 kB / 0.9875 GB, free: 11.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.009678, allocations: 25.7 kB / 0.9875 GB, free: 11.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.009824, allocations: 212.2 kB / 0.9877 GB, free: 11.49 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.00985, allocations: 31.73 kB / 0.9877 GB, free: 11.46 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.009897, allocations: 33.67 kB / 0.9878 GB, free: 11.42 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.01002, allocations: 354.7 kB / 0.9881 GB, free: 11.06 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.01009, allocations: 23.98 kB / 0.9881 GB, free: 11.04 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.812e-05/0.01017, allocations: 59.42 kB / 0.9882 GB, free: 10.97 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.01031, allocations: 87.36 kB / 0.9883 GB, free: 10.87 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01031, allocations: 0 / 0.9883 GB, free: 10.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002034/0.01051, allocations: 149.7 kB / 0.9884 GB, free: 10.72 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.01053, allocations: 15.2 kB / 0.9884 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01053, allocations: 4.031 kB / 0.9884 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.01054, allocations: 4 kB / 0.9884 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.415e-05/0.01064, allocations: 20 kB / 0.9884 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.01065, allocations: 7.984 kB / 0.9885 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.01071, allocations: 11.88 kB / 0.9885 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.01072, allocations: 0 / 0.9885 GB, free: 10.66 MB / 0.948 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.0001338/0.01085, allocations: 165.8 kB / 0.9886 GB, free: 10.49 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.0109, allocations: 35.77 kB / 0.9887 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.163e-05/0.01095, allocations: 47.25 kB / 0.9887 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01095, allocations: 0 / 0.9887 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.01096, allocations: 4 kB / 0.9887 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01096, allocations: 0 / 0.9887 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.01125, allocations: 276.5 kB / 0.989 GB, free: 10.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01125, allocations: 0 / 0.989 GB, free: 10.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.691e-05/0.01135, allocations: 19.98 kB / 0.989 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.01135, allocations: 0 / 0.989 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.01136, allocations: 0 / 0.989 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.01136, allocations: 11.94 kB / 0.989 GB, free: 10.06 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01136, allocations: 0 / 0.989 GB, free: 10.06 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.01166, allocations: 259.2 kB / 0.9892 GB, free: 9.793 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.01172, allocations: 35.86 kB / 0.9893 GB, free: 9.758 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.01174, allocations: 0 / 0.9893 GB, free: 9.758 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-05/0.01182, allocations: 11.92 kB / 0.9893 GB, free: 9.746 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.01185, allocations: 8 kB / 0.9893 GB, free: 9.738 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.01185, allocations: 0 / 0.9893 GB, free: 9.738 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000249/0.0121, allocations: 279.1 kB / 0.9896 GB, free: 9.469 MB / 0.948 GB Notification: Performance of sort global known variables: time 1e-07/0.0121, allocations: 0 / 0.9896 GB, free: 9.469 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003118/0.01242, allocations: 43.89 kB / 0.9896 GB, free: 9.426 MB / 0.948 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.0005583/0.01297, allocations: 0.7948 MB / 0.9904 GB, free: 8.602 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.01314, allocations: 71.84 kB / 0.9905 GB, free: 8.531 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01315, allocations: 0 / 0.9905 GB, free: 8.531 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.666e-05/0.01321, allocations: 35.98 kB / 0.9905 GB, free: 8.496 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.01358, allocations: 25.62 kB / 0.9905 GB, free: 8.473 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.01663, allocations: 2.683 MB / 0.9931 GB, free: 5.688 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.01679, allocations: 191 kB / 0.9933 GB, free: 5.484 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.464e-05/0.01685, allocations: 8.656 kB / 0.9933 GB, free: 5.473 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.01696, allocations: 108.5 kB / 0.9934 GB, free: 5.367 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/0.01696, allocations: 0 / 0.9934 GB, free: 5.367 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.03574, allocations: 5.637 MB / 0.9989 GB, free: 15.92 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.1/7.135, allocations: 2.234 kB / 0.9989 GB, free: 15.92 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TRoo.T from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.TWat.T in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TWat.T from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.QGen_flow in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.QGen_flow from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable per.capEng in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable per.capEng from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.TEng in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TEng from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.213145765475929]