Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001303/0.001303, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001413/0.001413, allocations: 220 kB / 23.05 MB, free: 5.074 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.727/2.727, allocations: 476.7 MB / 0.7715 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="cs",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.001935/0.001935, allocations: 71.44 kB / 1.118 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3432, allocations: 169.9 MB / 1.284 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003948/0.3472, allocations: 2.499 MB / 1.287 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009184/0.3481, allocations: 0.547 MB / 1.287 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.361e-05/0.3482, allocations: 4 kB / 1.287 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.3485, allocations: 123.4 kB / 1.287 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.3487, allocations: 95.28 kB / 1.287 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.3488, allocations: 43.95 kB / 1.287 GB, free: 500 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.3491, allocations: 250.7 kB / 1.288 GB, free: 248 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.3493, allocations: 71.62 kB / 1.288 GB, free: 176 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.3494, allocations: 87.7 kB / 1.288 GB, free: 88 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.3496, allocations: 103.4 kB / 1.288 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.561e-05/0.3496, allocations: 16 kB / 1.288 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.994e-05/0.3496, allocations: 24 kB / 1.288 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.357e-05/0.3497, allocations: 75.7 kB / 1.288 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.3499, allocations: 159 kB / 1.288 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004299/0.3503, allocations: 342.4 kB / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3503, allocations: 0 / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3503, allocations: 0 / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.3503, allocations: 3.938 kB / 1.288 GB, free: 15.38 MB / 0.9981 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.0009298/0.3513, allocations: 0.5873 MB / 1.289 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3513, allocations: 12.03 kB / 1.289 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.736e-05/0.3513, allocations: 4.188 kB / 1.289 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.856e-05/0.3514, allocations: 46.73 kB / 1.289 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.672e-05/0.3514, allocations: 48.66 kB / 1.289 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.3518, allocations: 244.7 kB / 1.289 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.3518, allocations: 16.12 kB / 1.289 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.3519, allocations: 16.38 kB / 1.289 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.3521, allocations: 141.8 kB / 1.29 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3522, allocations: 0 / 1.29 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.3522, allocations: 8 kB / 1.29 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.3522, allocations: 0 / 1.29 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.3524, allocations: 97.52 kB / 1.29 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008155/0.3532, allocations: 0.5536 MB / 1.29 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.3535, allocations: 86.53 kB / 1.29 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3536, allocations: 44.91 kB / 1.29 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-06/0.3536, allocations: 0 / 1.29 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3536, allocations: 30.56 kB / 1.29 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 9.11e-07/0.3536, allocations: 0 / 1.29 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0003743/0.354, allocations: 161.3 kB / 1.29 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.354, allocations: 51.41 kB / 1.291 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/0.3544, allocations: 393.9 kB / 1.291 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.3545, allocations: 25.7 kB / 1.291 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.3546, allocations: 224.1 kB / 1.291 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.3547, allocations: 35.69 kB / 1.291 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.3547, allocations: 25.72 kB / 1.291 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3549, allocations: 350.8 kB / 1.292 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.355, allocations: 31.92 kB / 1.292 GB, free: 12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.3551, allocations: 56.67 kB / 1.292 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.3553, allocations: 91.36 kB / 1.292 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3553, allocations: 4 kB / 1.292 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002563/0.3555, allocations: 149.3 kB / 1.292 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3555, allocations: 4 kB / 1.292 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3555, allocations: 4 kB / 1.292 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3556, allocations: 0 / 1.292 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.3557, allocations: 23.98 kB / 1.292 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3557, allocations: 0 / 1.292 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.118e-05/0.3558, allocations: 15.98 kB / 1.292 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.3558, allocations: 8 kB / 1.292 GB, free: 11.62 MB / 0.9981 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.0001598/0.3559, allocations: 165.7 kB / 1.292 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.356, allocations: 36.23 kB / 1.292 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.202e-05/0.356, allocations: 39.2 kB / 1.292 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3561, allocations: 4 kB / 1.292 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3561, allocations: 0 / 1.292 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.3561, allocations: 7.922 kB / 1.292 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.3564, allocations: 276.6 kB / 1.292 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3564, allocations: 7.984 kB / 1.292 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.3565, allocations: 16 kB / 1.292 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3565, allocations: 3.938 kB / 1.292 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3565, allocations: 0 / 1.292 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3565, allocations: 0 / 1.292 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3565, allocations: 0 / 1.292 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.3569, allocations: 259.2 kB / 1.293 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-05/0.357, allocations: 47.78 kB / 1.293 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.357, allocations: 0 / 1.293 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.662e-05/0.3571, allocations: 11.94 kB / 1.293 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.3571, allocations: 11.92 kB / 1.293 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.3572, allocations: 0 / 1.293 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003207/0.3575, allocations: 283.1 kB / 1.293 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3575, allocations: 0 / 1.293 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002753/0.3577, allocations: 43.89 kB / 1.293 GB, free: 10.37 MB / 0.9981 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.0007317/0.3585, allocations: 0.7865 MB / 1.294 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.3587, allocations: 72.03 kB / 1.294 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3587, allocations: 0 / 1.294 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/0.3588, allocations: 35.92 kB / 1.294 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.3592, allocations: 31.72 kB / 1.294 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.3626, allocations: 2.715 MB / 1.297 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.363, allocations: 0.7981 MB / 1.297 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.229e-05/0.3631, allocations: 12.64 kB / 1.297 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.3632, allocations: 99.41 kB / 1.298 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/0.3632, allocations: 0 / 1.298 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0276/0.3908, allocations: 5.131 MB / 1.303 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.17, allocations: 7.109 kB / 1.303 GB, free: 0.7109 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.586159726022743]