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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 110.5 kB / 16.46 MB, free: 6.504 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.001299/0.001299, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.448/1.448, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.187/3.187, allocations: 497.2 MB / 0.7811 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 69.05 kB / 1.134 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3751, allocations: 173.9 MB / 1.304 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004728/0.3799, allocations: 2.47 MB / 1.306 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.3809, allocations: 0.5275 MB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.381, allocations: 4 kB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004272/0.3814, allocations: 135.4 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.3816, allocations: 87.3 kB / 1.307 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.3817, allocations: 43.94 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.382, allocations: 242.7 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000289/0.3823, allocations: 83.12 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.3824, allocations: 83.66 kB / 1.308 GB, free: 13.85 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.3826, allocations: 99.44 kB / 1.308 GB, free: 13.75 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.3826, allocations: 20 kB / 1.308 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.279e-05/0.3827, allocations: 20 kB / 1.308 GB, free: 13.71 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.3828, allocations: 83.69 kB / 1.308 GB, free: 13.63 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.3829, allocations: 155 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.3833, allocations: 350.2 kB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3833, allocations: 0 / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3833, allocations: 0 / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.3833, allocations: 0 / 1.308 GB, free: 13.13 MB / 1.014 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.0009373/0.3843, allocations: 0.6648 MB / 1.309 GB, free: 12.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3843, allocations: 8.922 kB / 1.309 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.018e-05/0.3844, allocations: 50.73 kB / 1.309 GB, free: 12.35 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.994e-05/0.3845, allocations: 48.61 kB / 1.309 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.3849, allocations: 306.5 kB / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.3849, allocations: 12.36 kB / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.3849, allocations: 16.38 kB / 1.309 GB, free: 11.94 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.3853, allocations: 142.6 kB / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.3853, allocations: 3.938 kB / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.3853, allocations: 8 kB / 1.309 GB, free: 11.78 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.3853, allocations: 4 kB / 1.309 GB, free: 11.78 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.3855, allocations: 95.7 kB / 1.31 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008904/0.3864, allocations: 0.5741 MB / 1.31 GB, free: 11.06 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.3867, allocations: 94.55 kB / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.3868, allocations: 40.89 kB / 1.31 GB, free: 10.91 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.3868, allocations: 0 / 1.31 GB, free: 10.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.3868, allocations: 34.56 kB / 1.31 GB, free: 10.87 MB / 1.014 GB Notification: Performance of pre-optimization done (n=9): time 8.82e-07/0.3868, allocations: 0 / 1.31 GB, free: 10.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=9): time 0.0003675/0.3872, allocations: 149.4 kB / 1.31 GB, free: 10.72 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.3872, allocations: 55.41 kB / 1.31 GB, free: 10.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004381/0.3877, allocations: 390 kB / 1.311 GB, free: 10.26 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.3877, allocations: 25.7 kB / 1.311 GB, free: 10.23 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.3879, allocations: 228.1 kB / 1.311 GB, free: 10 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.3879, allocations: 31.7 kB / 1.311 GB, free: 9.973 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.887e-05/0.388, allocations: 33.64 kB / 1.311 GB, free: 9.934 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3881, allocations: 342.8 kB / 1.311 GB, free: 9.59 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.647e-05/0.3882, allocations: 31.98 kB / 1.312 GB, free: 9.559 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-05/0.3883, allocations: 55.41 kB / 1.312 GB, free: 9.492 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.3885, allocations: 95.67 kB / 1.312 GB, free: 9.387 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3885, allocations: 4 kB / 1.312 GB, free: 9.383 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002781/0.3888, allocations: 153.2 kB / 1.312 GB, free: 9.227 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.3888, allocations: 8 kB / 1.312 GB, free: 9.219 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3888, allocations: 0 / 1.312 GB, free: 9.219 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.3889, allocations: 0 / 1.312 GB, free: 9.219 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.389, allocations: 23.98 kB / 1.312 GB, free: 9.195 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.389, allocations: 4 kB / 1.312 GB, free: 9.191 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.525e-05/0.3891, allocations: 7.938 kB / 1.312 GB, free: 9.184 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.3891, allocations: 7.938 kB / 1.312 GB, free: 9.176 MB / 1.014 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.0001722/0.3893, allocations: 169.8 kB / 1.312 GB, free: 9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.3893, allocations: 39.72 kB / 1.312 GB, free: 8.961 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.339e-05/0.3894, allocations: 39.2 kB / 1.312 GB, free: 8.922 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.3894, allocations: 4 kB / 1.312 GB, free: 8.918 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3894, allocations: 0 / 1.312 GB, free: 8.918 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3894, allocations: 0 / 1.312 GB, free: 8.918 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.3898, allocations: 305.5 kB / 1.312 GB, free: 8.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3898, allocations: 0 / 1.312 GB, free: 8.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.3899, allocations: 19.98 kB / 1.312 GB, free: 8.551 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.3899, allocations: 4 kB / 1.312 GB, free: 8.547 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.3899, allocations: 4 kB / 1.312 GB, free: 8.543 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3899, allocations: 0 / 1.312 GB, free: 8.543 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3899, allocations: 0 / 1.312 GB, free: 8.543 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/0.3904, allocations: 263.3 kB / 1.313 GB, free: 8.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.3905, allocations: 120.8 kB / 1.313 GB, free: 8.133 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.3905, allocations: 7.922 kB / 1.313 GB, free: 8.125 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.425e-05/0.3906, allocations: 4.062 kB / 1.313 GB, free: 8.121 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.3907, allocations: 4 kB / 1.313 GB, free: 8.117 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.3907, allocations: 4 kB / 1.313 GB, free: 8.113 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002973/0.391, allocations: 283.1 kB / 1.313 GB, free: 7.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.391, allocations: 0 / 1.313 GB, free: 7.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002905/0.3912, allocations: 47.89 kB / 1.313 GB, free: 7.793 MB / 1.014 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.0007589/0.392, allocations: 0.7865 MB / 1.314 GB, free: 6.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.3922, allocations: 67.91 kB / 1.314 GB, free: 6.914 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3922, allocations: 0 / 1.314 GB, free: 6.914 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.06e-05/0.3923, allocations: 35.92 kB / 1.314 GB, free: 6.879 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.3927, allocations: 35.34 kB / 1.314 GB, free: 6.844 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/0.3964, allocations: 2.727 MB / 1.317 GB, free: 4.016 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/0.3969, allocations: 0.8031 MB / 1.317 GB, free: 3.188 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.364e-05/0.397, allocations: 8.641 kB / 1.317 GB, free: 3.18 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.3971, allocations: 103.4 kB / 1.318 GB, free: 3.082 MB / 1.014 GB Notification: Performance of SimCode: time 1.623e-06/0.3971, allocations: 0 / 1.318 GB, free: 3.082 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03332/0.4304, allocations: 4.967 MB / 1.322 GB, free: 14.26 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.77/9.201, allocations: 10.28 kB / 1.322 GB, free: 14.26 MB / 1.029 GB " [Timeout remaining time 291] (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 --stepSize=0.6 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.91057517984882]