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.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.001767/0.001767, allocations: 109.4 kB / 17.93 MB, free: 3.953 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.001997/0.001997, allocations: 200.4 kB / 21.19 MB, free: 0.707 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.391/1.391, allocations: 225.6 MB / 249.9 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.765/2.765, allocations: 476.7 MB / 0.7634 GB, free: 10.89 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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 0.002127/0.002127, allocations: 71.89 kB / 1.108 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8245/0.8267, allocations: 168.7 MB / 1.272 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004078/0.8307, allocations: 2.481 MB / 1.275 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009624/0.8317, allocations: 0.5353 MB / 1.275 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.8318, allocations: 4 kB / 1.275 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004417/0.8323, allocations: 123.5 kB / 1.275 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.8325, allocations: 99.2 kB / 1.276 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.8326, allocations: 35.97 kB / 1.276 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.8329, allocations: 242.7 kB / 1.276 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.8331, allocations: 87.11 kB / 1.276 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.8333, allocations: 79.67 kB / 1.276 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.8334, allocations: 103.4 kB / 1.276 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.374e-05/0.8335, allocations: 16 kB / 1.276 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.234e-05/0.8335, allocations: 20 kB / 1.276 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.943e-05/0.8336, allocations: 83.67 kB / 1.276 GB, free: 488 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.8338, allocations: 159 kB / 1.276 GB, free: 328 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004285/0.8342, allocations: 344.4 kB / 1.277 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.8342, allocations: 0 / 1.277 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8342, allocations: 0 / 1.277 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.8342, allocations: 3.938 kB / 1.277 GB, free: 15.98 MB / 0.9825 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.000973/0.8352, allocations: 0.6571 MB / 1.277 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.8352, allocations: 8.031 kB / 1.277 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.759e-05/0.8353, allocations: 50.73 kB / 1.277 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.171e-05/0.8354, allocations: 48.66 kB / 1.277 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.8358, allocations: 306.4 kB / 1.278 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.8358, allocations: 12.38 kB / 1.278 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.8359, allocations: 16.31 kB / 1.278 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.8362, allocations: 141.9 kB / 1.278 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.8362, allocations: 3.938 kB / 1.278 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.8362, allocations: 4 kB / 1.278 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.8362, allocations: 4 kB / 1.278 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.8365, allocations: 95.95 kB / 1.278 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009168/0.8374, allocations: 0.5859 MB / 1.279 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.8377, allocations: 86.55 kB / 1.279 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.8378, allocations: 48.89 kB / 1.279 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.8379, allocations: 7.922 kB / 1.279 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.8379, allocations: 38.56 kB / 1.279 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.8379, allocations: 0 / 1.279 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003902/0.8383, allocations: 141.4 kB / 1.279 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.8383, allocations: 51.41 kB / 1.279 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004458/0.8388, allocations: 394 kB / 1.279 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.8388, allocations: 25.7 kB / 1.279 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.839, allocations: 224.2 kB / 1.279 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.839, allocations: 27.75 kB / 1.28 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/0.8391, allocations: 33.66 kB / 1.28 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.8393, allocations: 346.7 kB / 1.28 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-05/0.8394, allocations: 31.98 kB / 1.28 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-05/0.8395, allocations: 52.05 kB / 1.28 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.8396, allocations: 99.61 kB / 1.28 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8396, allocations: 0 / 1.28 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002954/0.8399, allocations: 145.4 kB / 1.28 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.84, allocations: 8 kB / 1.28 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.84, allocations: 0 / 1.28 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.84, allocations: 0 / 1.28 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.8401, allocations: 27.92 kB / 1.28 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.8401, allocations: 4 kB / 1.28 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.8402, allocations: 11.94 kB / 1.28 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.8402, allocations: 3.938 kB / 1.28 GB, free: 12.04 MB / 0.9825 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.000195/0.8404, allocations: 162.4 kB / 1.28 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/0.8405, allocations: 43.75 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.107e-05/0.8406, allocations: 43.16 kB / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.8406, allocations: 0 / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.8406, allocations: 0 / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.8406, allocations: 0 / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.841, allocations: 313.4 kB / 1.281 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.841, allocations: 0 / 1.281 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.8411, allocations: 19.98 kB / 1.281 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.8411, allocations: 0 / 1.281 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.8411, allocations: 4 kB / 1.281 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.8411, allocations: 4 kB / 1.281 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.8411, allocations: 4 kB / 1.281 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.8415, allocations: 259.3 kB / 1.281 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.8416, allocations: 120.8 kB / 1.281 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.8416, allocations: 0 / 1.281 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.433e-05/0.8417, allocations: 0 / 1.281 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.8418, allocations: 4 kB / 1.281 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.8418, allocations: 16.05 kB / 1.281 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002969/0.8421, allocations: 275.1 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8421, allocations: 0 / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002787/0.8424, allocations: 47.89 kB / 1.282 GB, free: 10.66 MB / 0.9825 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.0007991/0.8432, allocations: 0.7943 MB / 1.282 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.8434, allocations: 63.92 kB / 1.282 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8434, allocations: 0 / 1.282 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.463e-05/0.8435, allocations: 35.92 kB / 1.282 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.8439, allocations: 29.55 kB / 1.282 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.8474, allocations: 2.74 MB / 1.285 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.8479, allocations: 0.7942 MB / 1.286 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.693e-05/0.848, allocations: 12.64 kB / 1.286 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.8481, allocations: 103.4 kB / 1.286 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.8481, allocations: 0 / 1.286 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.8791, allocations: 4.938 MB / 1.291 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.639/9.519, allocations: 1.719 kB / 1.291 GB, free: 1.113 MB / 0.9825 GB " [Timeout remaining time 290] (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_2/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: 15.429898896021768]