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.001559/0.001559, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001976/0.001976, allocations: 211.3 kB / 22.24 MB, free: 4.855 MB / 14.72 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 1.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.363/3.363, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 72.77 kB / 1.153 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4133, allocations: 176.1 MB / 1.325 GB, free: 2.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.005962/0.4193, allocations: 2.364 MB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.4206, allocations: 0.5003 MB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.4207, allocations: 4 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005253/0.4212, allocations: 123.5 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.4215, allocations: 95.27 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.4217, allocations: 43.89 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004058/0.4221, allocations: 242.7 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.4223, allocations: 80.08 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.4225, allocations: 83.66 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.4227, allocations: 87.5 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.126e-05/0.4228, allocations: 20 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-05/0.4228, allocations: 16 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.423, allocations: 87.67 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.4231, allocations: 119.2 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005577/0.4237, allocations: 342.3 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.4237, allocations: 4 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.963e-06/0.4237, allocations: 4 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.4237, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 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.001293/0.425, allocations: 0.5856 MB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/0.4251, allocations: 8.031 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.098e-05/0.4252, allocations: 50.73 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.4253, allocations: 44.66 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005743/0.4258, allocations: 252.7 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.4259, allocations: 12.38 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.41e-05/0.4259, allocations: 16.38 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000447/0.4264, allocations: 146.3 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.4264, allocations: 3.938 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.4264, allocations: 4 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.4264, allocations: 4 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/0.4268, allocations: 95.89 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.4281, allocations: 0.5224 MB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.4284, allocations: 78.62 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.4286, allocations: 48.86 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.4286, allocations: 0 / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.4286, allocations: 38.56 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.4286, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0005728/0.4292, allocations: 141.7 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.4293, allocations: 63.34 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005965/0.4299, allocations: 389.9 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.4299, allocations: 29.8 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.4301, allocations: 224.1 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.4301, allocations: 31.73 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.4302, allocations: 25.72 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.4303, allocations: 354.7 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.042e-05/0.4304, allocations: 23.98 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.4305, allocations: 56.42 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.4307, allocations: 91.36 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4307, allocations: 4 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002731/0.431, allocations: 145.3 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.431, allocations: 4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.431, allocations: 4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.431, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.4312, allocations: 27.98 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4312, allocations: 8.031 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.697e-05/0.4313, allocations: 7.953 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.4313, allocations: 7.938 kB / 1.333 GB, free: 10.39 MB / 1.029 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.0001837/0.4315, allocations: 165.8 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.627e-05/0.4315, allocations: 35.77 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.161e-05/0.4316, allocations: 35.22 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4316, allocations: 4 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4316, allocations: 0 / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4316, allocations: 0 / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.4321, allocations: 276.5 kB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4321, allocations: 4 kB / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.4322, allocations: 23.92 kB / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4322, allocations: 0 / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.4322, allocations: 96 / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.4322, allocations: 11.88 kB / 1.333 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4322, allocations: 4 kB / 1.333 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004311/0.4326, allocations: 259.2 kB / 1.333 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-05/0.4327, allocations: 35.75 kB / 1.333 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.4328, allocations: 0 / 1.333 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.4329, allocations: 12.06 kB / 1.333 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.4329, allocations: 3.984 kB / 1.333 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.4329, allocations: 4 kB / 1.333 GB, free: 9.469 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000315/0.4332, allocations: 283.1 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4332, allocations: 0 / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003029/0.4335, allocations: 47.84 kB / 1.334 GB, free: 9.148 MB / 1.029 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.0007363/0.4343, allocations: 0.7864 MB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.4345, allocations: 80.03 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4345, allocations: 0 / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.508e-05/0.4346, allocations: 32.36 kB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.435, allocations: 25.78 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.4388, allocations: 2.716 MB / 1.337 GB, free: 5.391 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.4391, allocations: 194.8 kB / 1.337 GB, free: 5.176 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.819e-05/0.4392, allocations: 4.656 kB / 1.337 GB, free: 5.172 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.4393, allocations: 107.4 kB / 1.338 GB, free: 5.066 MB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/0.4393, allocations: 4 kB / 1.338 GB, free: 5.062 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/0.4748, allocations: 5.487 MB / 1.343 GB, free: 15.75 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.05, allocations: 7.141 kB / 1.343 GB, free: 15.74 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.00315781123936]