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.00108/0.00108, 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.0008621/0.0008621, allocations: 169.9 kB / 22.45 MB, free: 2.109 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.8943/0.8943, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.706/1.706, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.985e-06/2.985e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.659e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003525/0.003551, allocations: 2.365 MB / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008508/0.004402, allocations: 0.512 MB / 0.9533 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.863e-05/0.004491, allocations: 4 kB / 0.9533 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.004816, allocations: 111.2 kB / 0.9534 GB, free: 484 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.004936, allocations: 99.2 kB / 0.9535 GB, free: 384 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.005069, allocations: 47.89 kB / 0.9536 GB, free: 336 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.005274, allocations: 250.5 kB / 0.9538 GB, free: 84 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.005439, allocations: 67.67 kB / 0.9539 GB, free: 12 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.005606, allocations: 139.7 kB / 0.954 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.005708, allocations: 71.73 kB / 0.9541 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.005742, allocations: 20 kB / 0.9541 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 2.564e-05/0.005767, allocations: 20 kB / 0.9541 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.849e-05/0.005846, allocations: 83.69 kB / 0.9542 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.476e-05/0.005911, allocations: 83.72 kB / 0.9543 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.006176, allocations: 334.8 kB / 0.9546 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.006179, allocations: 0 / 0.9546 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.512e-06/0.006181, allocations: 0 / 0.9546 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.006186, allocations: 0 / 0.9546 GB, free: 15.27 MB / 0.9167 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.0008926/0.007078, allocations: 0.5779 MB / 0.9552 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.007125, allocations: 11.97 kB / 0.9552 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.839e-05/0.007173, allocations: 54.73 kB / 0.9552 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.007223, allocations: 44.66 kB / 0.9553 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.007489, allocations: 243.9 kB / 0.9555 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.007504, allocations: 12.38 kB / 0.9555 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.007531, allocations: 16.38 kB / 0.9555 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.007732, allocations: 147.8 kB / 0.9557 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.007743, allocations: 192 / 0.9557 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.007757, allocations: 8.375 kB / 0.9557 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.007764, allocations: 8.125 kB / 0.9557 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.007914, allocations: 87.95 kB / 0.9558 GB, free: 14 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.008521, allocations: 0.5263 MB / 0.9563 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.008712, allocations: 90.61 kB / 0.9564 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.209e-05/0.008774, allocations: 40.89 kB / 0.9564 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.008786, allocations: 3.938 kB / 0.9564 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.008804, allocations: 34.56 kB / 0.9564 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.093e-06/0.008805, allocations: 0 / 0.9564 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0002472/0.009052, allocations: 145.4 kB / 0.9566 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.009084, allocations: 55.39 kB / 0.9566 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.009355, allocations: 386 kB / 0.957 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.009367, allocations: 25.7 kB / 0.957 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.009485, allocations: 228.2 kB / 0.9572 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.009508, allocations: 31.73 kB / 0.9573 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.009548, allocations: 29.67 kB / 0.9573 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.009657, allocations: 354.7 kB / 0.9576 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.466e-05/0.009711, allocations: 27.98 kB / 0.9577 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.584e-05/0.009777, allocations: 56.42 kB / 0.9577 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.009891, allocations: 91.67 kB / 0.9578 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.009894, allocations: 8 kB / 0.9578 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001706/0.01006, allocations: 145.3 kB / 0.958 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.01008, allocations: 6.969 kB / 0.958 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.01009, allocations: 4 kB / 0.958 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.0101, allocations: 0 / 0.958 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.509e-05/0.01018, allocations: 27.92 kB / 0.958 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.01019, allocations: 0 / 0.958 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.01023, allocations: 7.938 kB / 0.958 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.01024, allocations: 16.08 kB / 0.958 GB, free: 11.55 MB / 0.9167 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.0001197/0.01036, allocations: 169.7 kB / 0.9582 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.01039, allocations: 35.77 kB / 0.9582 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.01043, allocations: 35.28 kB / 0.9582 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.01044, allocations: 4 kB / 0.9582 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.01045, allocations: 0 / 0.9582 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.01046, allocations: 3.984 kB / 0.9583 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.01071, allocations: 268.5 kB / 0.9585 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01071, allocations: 3.938 kB / 0.9585 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.782e-05/0.01081, allocations: 16 kB / 0.9585 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.01081, allocations: 4 kB / 0.9585 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.01082, allocations: 7.984 kB / 0.9585 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01083, allocations: 0 / 0.9585 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01083, allocations: 0 / 0.9585 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.01113, allocations: 251.2 kB / 0.9588 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.01118, allocations: 39.97 kB / 0.9588 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.0112, allocations: 0 / 0.9588 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.817e-05/0.01126, allocations: 11.94 kB / 0.9588 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.01131, allocations: 3.984 kB / 0.9588 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.01131, allocations: 4.062 kB / 0.9588 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002138/0.01153, allocations: 283.1 kB / 0.9591 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01153, allocations: 0 / 0.9591 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002234/0.01175, allocations: 43.89 kB / 0.9591 GB, free: 10.32 MB / 0.9167 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.0004639/0.01221, allocations: 0.7902 MB / 0.9599 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001588/0.01237, allocations: 71.91 kB / 0.96 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01237, allocations: 0 / 0.96 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.77e-05/0.01242, allocations: 40.17 kB / 0.96 GB, free: 9.398 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.01275, allocations: 25.66 kB / 0.96 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.01554, allocations: 2.664 MB / 0.9627 GB, free: 6.609 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.01568, allocations: 202.9 kB / 0.9628 GB, free: 6.387 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.636e-05/0.01573, allocations: 16.58 kB / 0.9629 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.01583, allocations: 108.5 kB / 0.963 GB, free: 6.266 MB / 0.9167 GB Notification: Performance of SimCode: time 8.52e-07/0.01584, allocations: 0 / 0.963 GB, free: 6.266 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.03852, allocations: 5.623 MB / 0.9685 GB, free: 0.8164 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.332/7.371, allocations: 6.609 kB / 0.9685 GB, free: 0.8125 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.41023132763803]