Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.001681/0.001681, allocations: 107.8 kB / 16.45 MB, free: 6.035 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.001874/0.001874, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.446/1.446, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.579/2.579, allocations: 443.5 MB / 0.7287 GB, free: 13.2 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.EnergyConversionWarmUp,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 71.89 kB / 1.056 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8622/0.8641, allocations: 160.7 MB / 1.213 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004889/0.869, allocations: 2.757 MB / 1.216 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.8709, allocations: 1.089 MB / 1.217 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.8711, allocations: 5.188 kB / 1.217 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006226/0.8717, allocations: 221.4 kB / 1.217 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.8719, allocations: 89.03 kB / 1.217 GB, free: 0.582 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005115/0.8724, allocations: 183.4 kB / 1.217 GB, free: 452 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005059/0.8729, allocations: 402.8 kB / 1.218 GB, free: 196 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.8733, allocations: 154.3 kB / 1.218 GB, free: 76 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.8735, allocations: 150.3 kB / 1.218 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.8737, allocations: 181.4 kB / 1.218 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.101e-05/0.8738, allocations: 39.47 kB / 1.218 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.8741, allocations: 179.3 kB / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.8743, allocations: 264.9 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.8746, allocations: 353.1 kB / 1.219 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.8757, allocations: 0.9609 MB / 1.22 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.8757, allocations: 4.969 kB / 1.22 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8757, allocations: 0 / 1.22 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.8757, allocations: 0 / 1.22 GB, free: 14.58 MB / 0.9356 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.001716/0.8774, allocations: 1.164 MB / 1.221 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.8775, allocations: 18.44 kB / 1.221 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.954e-05/0.8776, allocations: 68.16 kB / 1.221 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.8789, allocations: 239.2 kB / 1.221 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.8804, allocations: 0.737 MB / 1.222 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.8804, allocations: 21.72 kB / 1.222 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/0.8805, allocations: 28.09 kB / 1.222 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008878/0.8814, allocations: 386.6 kB / 1.222 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.8814, allocations: 0 / 1.222 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/0.8814, allocations: 18.84 kB / 1.222 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.8814, allocations: 7.219 kB / 1.222 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.8825, allocations: 420.6 kB / 1.223 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003438/0.8859, allocations: 1.773 MB / 1.224 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000644/0.8865, allocations: 216.4 kB / 1.225 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.8868, allocations: 88.97 kB / 1.225 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.8869, allocations: 4.906 kB / 1.225 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.8869, allocations: 36.86 kB / 1.225 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.273e-06/0.8869, allocations: 4 kB / 1.225 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.001141/0.888, allocations: 376.3 kB / 1.225 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.8881, allocations: 53.03 kB / 1.225 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.8897, allocations: 1.249 MB / 1.226 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.8897, allocations: 30.89 kB / 1.226 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004046/0.8901, allocations: 439.3 kB / 1.227 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.596e-05/0.8902, allocations: 67.23 kB / 1.227 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.846e-05/0.8903, allocations: 57.31 kB / 1.227 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.8904, allocations: 316.9 kB / 1.227 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.8908, allocations: 145.2 kB / 1.227 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/0.8912, allocations: 201.9 kB / 1.228 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006593/0.8918, allocations: 290.9 kB / 1.228 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.8918, allocations: 0 / 1.228 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001101/0.8929, allocations: 467.1 kB / 1.228 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.893, allocations: 10.81 kB / 1.228 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.893, allocations: 3.938 kB / 1.228 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.893, allocations: 4 kB / 1.228 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.8933, allocations: 55.89 kB / 1.228 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.8933, allocations: 11.94 kB / 1.228 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.8937, allocations: 35.77 kB / 1.228 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.8937, allocations: 12 kB / 1.229 GB, free: 7.918 MB / 0.9356 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.0004006/0.8941, allocations: 271.2 kB / 1.229 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.8942, allocations: 91.39 kB / 1.229 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008907/0.8951, allocations: 325.8 kB / 1.229 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.8951, allocations: 0 / 1.229 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.8951, allocations: 11.98 kB / 1.229 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.8951, allocations: 3.984 kB / 1.229 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.897, allocations: 0.9996 MB / 1.23 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.897, allocations: 0 / 1.23 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.8973, allocations: 52.08 kB / 1.23 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.8973, allocations: 4 kB / 1.23 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.8973, allocations: 8 kB / 1.23 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.8973, allocations: 7.938 kB / 1.23 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.8973, allocations: 0 / 1.23 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007945/0.8981, allocations: 449 kB / 1.231 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.8984, allocations: 204.5 kB / 1.231 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.968e-05/0.8985, allocations: 11.98 kB / 1.231 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.8988, allocations: 11.98 kB / 1.231 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.8989, allocations: 23.92 kB / 1.231 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.8989, allocations: 15.98 kB / 1.231 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001194/0.9001, allocations: 0.8989 MB / 1.232 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.9001, allocations: 0 / 1.232 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005315/0.9006, allocations: 103.8 kB / 1.232 GB, free: 4.309 MB / 0.9356 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.001285/0.9019, allocations: 0.9979 MB / 1.233 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007515/0.9026, allocations: 263.7 kB / 1.233 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9026, allocations: 0 / 1.233 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.903, allocations: 104.2 kB / 1.233 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005217/0.9035, allocations: 67.42 kB / 1.233 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.9146, allocations: 7.258 MB / 1.24 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007345/0.9154, allocations: 0.9999 MB / 1.241 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003677/0.9157, allocations: 104.6 kB / 1.241 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/0.9162, allocations: 291.3 kB / 1.242 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of SimCode: time 1.122e-06/0.9162, allocations: 0 / 1.242 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04198/0.9581, allocations: 13.75 MB / 1.255 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.586/10.54, allocations: 11.42 kB / 1.255 GB, free: 12.41 MB / 0.9669 GB " [Timeout remaining time 289] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 16.36006975127384]