Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.0008032/0.0008032, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0008268/0.0008268, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.8799/0.8799, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.773/1.773, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.EnergyConversionWarmUp,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.371e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.002835/0.002859, allocations: 2.552 MB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.003939, allocations: 1.01 MB / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.004068, allocations: 8 kB / 1.003 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004156/0.004483, allocations: 206.8 kB / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.004595, allocations: 91.19 kB / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.004974, allocations: 187.6 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004114/0.005386, allocations: 415.6 kB / 1.004 GB, free: 9 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.005583, allocations: 146.3 kB / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.005741, allocations: 227.4 kB / 1.004 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.00585, allocations: 131.5 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.005887, allocations: 40 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.006098, allocations: 163.8 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.00624, allocations: 263.2 kB / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.006348, allocations: 195.3 kB / 1.005 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005914/0.006939, allocations: 0.9497 MB / 1.006 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.006942, allocations: 3.938 kB / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.61e-07/0.006942, allocations: 0 / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.006951, allocations: 0 / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0009445/0.007896, allocations: 1.075 MB / 1.007 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.007934, allocations: 8.75 kB / 1.007 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.168e-05/0.007985, allocations: 70.72 kB / 1.007 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006213/0.008607, allocations: 244 kB / 1.007 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009965/0.009603, allocations: 0.6703 MB / 1.008 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.00962, allocations: 21.03 kB / 1.008 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.009651, allocations: 32.38 kB / 1.008 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.01013, allocations: 404.2 kB / 1.009 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.01013, allocations: 8.125 kB / 1.009 GB, free: 4.277 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.01016, allocations: 12.38 kB / 1.009 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.01016, allocations: 7.938 kB / 1.009 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005282/0.01069, allocations: 422.4 kB / 1.009 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.01248, allocations: 1.458 MB / 1.01 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.01289, allocations: 212.8 kB / 1.011 GB, free: 2.125 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.01305, allocations: 92.81 kB / 1.011 GB, free: 2.031 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.01308, allocations: 19.97 kB / 1.011 GB, free: 2.012 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.0131, allocations: 30.56 kB / 1.011 GB, free: 1.973 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=20): time 1.162e-06/0.0131, allocations: 3.938 kB / 1.011 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20): time 0.0005947/0.01369, allocations: 368.9 kB / 1.011 GB, free: 1.602 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.01372, allocations: 63.33 kB / 1.011 GB, free: 1.527 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009134/0.01464, allocations: 1.254 MB / 1.012 GB, free: 256 kB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.01466, allocations: 33.64 kB / 1.012 GB, free: 216 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.01491, allocations: 432.8 kB / 1.013 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.01495, allocations: 75.36 kB / 1.013 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.01501, allocations: 49.64 kB / 1.013 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.39e-05/0.01508, allocations: 318 kB / 1.013 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.01527, allocations: 151.9 kB / 1.013 GB, free: 15.19 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.01549, allocations: 223.6 kB / 1.014 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.01585, allocations: 278.8 kB / 1.014 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01585, allocations: 0 / 1.014 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005118/0.01636, allocations: 475.1 kB / 1.014 GB, free: 14.19 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.01637, allocations: 9.719 kB / 1.014 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.01638, allocations: 0 / 1.014 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.01639, allocations: 4 kB / 1.014 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.01654, allocations: 51.91 kB / 1.014 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003054/0.01685, allocations: 11.92 kB / 1.014 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.01698, allocations: 35.83 kB / 1.014 GB, free: 14.08 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.017, allocations: 8 kB / 1.014 GB, free: 14.07 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002222/0.01722, allocations: 273.7 kB / 1.015 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.01728, allocations: 91.39 kB / 1.015 GB, free: 13.7 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.01776, allocations: 327.5 kB / 1.015 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.01776, allocations: 4 kB / 1.015 GB, free: 13.37 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.01777, allocations: 3.938 kB / 1.015 GB, free: 13.37 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.01777, allocations: 3.984 kB / 1.015 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009652/0.01874, allocations: 0.8857 MB / 1.016 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.01874, allocations: 4.188 kB / 1.016 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.01886, allocations: 47.91 kB / 1.016 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.01886, allocations: 4 kB / 1.016 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.01888, allocations: 7.984 kB / 1.016 GB, free: 12.35 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01888, allocations: 4 kB / 1.016 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.01888, allocations: 11.92 kB / 1.016 GB, free: 12.33 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.0193, allocations: 428.2 kB / 1.016 GB, free: 11.88 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.01945, allocations: 143.2 kB / 1.017 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.01949, allocations: 4 kB / 1.017 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.01961, allocations: 19.98 kB / 1.017 GB, free: 11.71 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.01966, allocations: 27.91 kB / 1.017 GB, free: 11.69 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.01967, allocations: 4 kB / 1.017 GB, free: 11.68 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0007037/0.02037, allocations: 0.9105 MB / 1.018 GB, free: 10.76 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.7e-07/0.02037, allocations: 0 / 1.018 GB, free: 10.76 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003075/0.02068, allocations: 95.83 kB / 1.018 GB, free: 10.67 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0007688/0.02145, allocations: 0.9923 MB / 1.019 GB, free: 9.629 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004528/0.0219, allocations: 267.7 kB / 1.019 GB, free: 9.367 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.02191, allocations: 0 / 1.019 GB, free: 9.367 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.02207, allocations: 108.1 kB / 1.019 GB, free: 9.262 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.02242, allocations: 63.42 kB / 1.019 GB, free: 9.199 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006955/0.02937, allocations: 7.296 MB / 1.026 GB, free: 1.707 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.02962, allocations: 399.6 kB / 1.027 GB, free: 1.289 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001817/0.02981, allocations: 96.66 kB / 1.027 GB, free: 1.191 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.03005, allocations: 300.4 kB / 1.027 GB, free: 0.8984 MB / 0.9792 GB Notification: Performance of SimCode: time 5.41e-07/0.03005, allocations: 0 / 1.027 GB, free: 0.8984 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.0541, allocations: 14.63 MB / 1.041 GB, free: 2.473 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.041/7.095, allocations: 8.062 kB / 1.041 GB, free: 2.465 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.151054844260216]