Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001786/0.001786, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002284/0.002284, allocations: 217.9 kB / 22.25 MB, free: 5.105 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.621/1.621, allocations: 230.6 MB / 256 MB, free: 7.836 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.137/3.137, allocations: 0.49 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.EnergyConversionWarmUp,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",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.002/0.002, allocations: 69.81 kB / 1.154 GB, free: 25.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3752, allocations: 176.1 MB / 1.326 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004704/0.3799, allocations: 2.582 MB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001989/0.3819, allocations: 1.01 MB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.3821, allocations: 4 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006352/0.3828, allocations: 194.6 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.3831, allocations: 103.2 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005719/0.3836, allocations: 175.7 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000486/0.3841, allocations: 399.8 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003109/0.3844, allocations: 162.3 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.3846, allocations: 159.3 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.3848, allocations: 175 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.072e-05/0.3849, allocations: 47.88 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.3852, allocations: 183.8 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.3855, allocations: 255.2 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.3857, allocations: 266.1 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.3868, allocations: 0.976 MB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3868, allocations: 0 / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3868, allocations: 3.938 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.928e-06/0.3868, allocations: 4 kB / 1.332 GB, free: 10.69 MB / 1.029 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.001659/0.3885, allocations: 1.082 MB / 1.333 GB, free: 9.566 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3885, allocations: 16.03 kB / 1.333 GB, free: 9.551 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.672e-05/0.3886, allocations: 62.73 kB / 1.333 GB, free: 9.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.3899, allocations: 244 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.3914, allocations: 0.6671 MB / 1.334 GB, free: 8.535 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.3914, allocations: 29.02 kB / 1.334 GB, free: 8.508 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.606e-05/0.3915, allocations: 32.38 kB / 1.334 GB, free: 8.477 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008874/0.3924, allocations: 408 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3924, allocations: 0 / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.3924, allocations: 12 kB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.3924, allocations: 8 kB / 1.335 GB, free: 8.047 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.3935, allocations: 418.3 kB / 1.335 GB, free: 7.637 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003231/0.3967, allocations: 1.458 MB / 1.337 GB, free: 6.129 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006685/0.3974, allocations: 207.8 kB / 1.337 GB, free: 5.918 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.3976, allocations: 88.81 kB / 1.337 GB, free: 5.828 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/0.3977, allocations: 15.98 kB / 1.337 GB, free: 5.812 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.3977, allocations: 42.5 kB / 1.337 GB, free: 5.762 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 2.324e-06/0.3977, allocations: 0 / 1.337 GB, free: 5.762 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001117/0.3988, allocations: 382.3 kB / 1.337 GB, free: 5.383 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.3989, allocations: 51.41 kB / 1.337 GB, free: 5.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.4005, allocations: 1.251 MB / 1.339 GB, free: 4.047 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.4006, allocations: 29.7 kB / 1.339 GB, free: 4.012 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/0.401, allocations: 432.4 kB / 1.339 GB, free: 3.586 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.042e-05/0.4011, allocations: 79.72 kB / 1.339 GB, free: 3.508 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.4012, allocations: 53.66 kB / 1.339 GB, free: 3.449 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4013, allocations: 318 kB / 1.34 GB, free: 3.133 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/0.4017, allocations: 143.9 kB / 1.34 GB, free: 2.992 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/0.4021, allocations: 231.5 kB / 1.34 GB, free: 2.738 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006624/0.4028, allocations: 275.3 kB / 1.34 GB, free: 2.453 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4028, allocations: 0 / 1.34 GB, free: 2.453 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009751/0.4037, allocations: 474.7 kB / 1.341 GB, free: 1.984 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4037, allocations: 4 kB / 1.341 GB, free: 1.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.4038, allocations: 7.938 kB / 1.341 GB, free: 1.973 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.4038, allocations: 4.156 kB / 1.341 GB, free: 1.969 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/0.4041, allocations: 59.89 kB / 1.341 GB, free: 1.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.4041, allocations: 4 kB / 1.341 GB, free: 1.906 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.4044, allocations: 35.77 kB / 1.341 GB, free: 1.871 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.4045, allocations: 15.98 kB / 1.341 GB, free: 1.855 MB / 1.029 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.0003298/0.4048, allocations: 274.2 kB / 1.341 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.4049, allocations: 87.39 kB / 1.341 GB, free: 1.492 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008729/0.4058, allocations: 330.8 kB / 1.341 GB, free: 1.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.4058, allocations: 4 kB / 1.341 GB, free: 1.156 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4058, allocations: 0 / 1.341 GB, free: 1.156 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4058, allocations: 0 / 1.341 GB, free: 1.156 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.4075, allocations: 0.9005 MB / 1.342 GB, free: 196 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4075, allocations: 0 / 1.342 GB, free: 196 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.4078, allocations: 48.09 kB / 1.342 GB, free: 148 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.4078, allocations: 7.984 kB / 1.342 GB, free: 140 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.4079, allocations: 8 kB / 1.342 GB, free: 132 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.4079, allocations: 4 kB / 1.342 GB, free: 128 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4079, allocations: 0 / 1.342 GB, free: 128 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008255/0.4087, allocations: 436.1 kB / 1.343 GB, free: 15.66 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.409, allocations: 135.3 kB / 1.343 GB, free: 15.53 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.313e-05/0.4091, allocations: 11.94 kB / 1.343 GB, free: 15.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.4094, allocations: 11.98 kB / 1.343 GB, free: 15.51 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.4094, allocations: 23.91 kB / 1.343 GB, free: 15.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.4095, allocations: 19.98 kB / 1.343 GB, free: 15.46 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001118/0.4106, allocations: 0.9066 MB / 1.344 GB, free: 14.55 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4106, allocations: 0 / 1.344 GB, free: 14.55 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004541/0.411, allocations: 103.8 kB / 1.344 GB, free: 14.45 MB / 1.045 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.001219/0.4122, allocations: 0.9879 MB / 1.345 GB, free: 13.41 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007217/0.413, allocations: 263.7 kB / 1.345 GB, free: 13.16 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.413, allocations: 0 / 1.345 GB, free: 13.16 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.4133, allocations: 108.3 kB / 1.345 GB, free: 13.05 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.4138, allocations: 67.36 kB / 1.345 GB, free: 12.98 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.4246, allocations: 7.254 MB / 1.352 GB, free: 5.539 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/0.4252, allocations: 400.5 kB / 1.353 GB, free: 5.121 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003605/0.4256, allocations: 100.7 kB / 1.353 GB, free: 5.02 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004213/0.426, allocations: 295.3 kB / 1.353 GB, free: 4.734 MB / 1.045 GB Notification: Performance of SimCode: time 2.515e-06/0.426, allocations: 0 / 1.353 GB, free: 4.734 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04602/0.472, allocations: 14.63 MB / 1.367 GB, free: 6.293 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.39, allocations: 9.625 kB / 1.367 GB, free: 6.289 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.319414486002643]