Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001884/0.001884, allocations: 110.4 kB / 18.94 MB, free: 2.957 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.001971/0.001971, allocations: 213.5 kB / 22.25 MB, free: 5.133 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.836/2.836, allocations: 476.7 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.EnergyConversionWarmUp,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_11_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.001995/0.001995, allocations: 68.06 kB / 1.117 GB, free: 39.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2983, allocations: 170 MB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004405/0.3027, allocations: 2.786 MB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.3048, allocations: 1.111 MB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.305, allocations: 4 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00064/0.3056, allocations: 214.4 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.3059, allocations: 95.23 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.3064, allocations: 183.7 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004455/0.3068, allocations: 395.8 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.3071, allocations: 158.3 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.3073, allocations: 163.2 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.3076, allocations: 179 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.749e-05/0.3076, allocations: 43.94 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.308, allocations: 179.8 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.3082, allocations: 259.2 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.3085, allocations: 353.6 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.3095, allocations: 0.976 MB / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3095, allocations: 0 / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3095, allocations: 0 / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.014e-05/0.3096, allocations: 0 / 1.29 GB, free: 4.477 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001629/0.3112, allocations: 1.086 MB / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3112, allocations: 8.031 kB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.989e-05/0.3113, allocations: 70.72 kB / 1.291 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.3126, allocations: 240 kB / 1.292 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.3141, allocations: 0.6749 MB / 1.292 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.3141, allocations: 25.03 kB / 1.292 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/0.3142, allocations: 32.38 kB / 1.292 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008464/0.315, allocations: 386.3 kB / 1.293 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.315, allocations: 0 / 1.293 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.315, allocations: 8 kB / 1.293 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.3151, allocations: 8 kB / 1.293 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.3161, allocations: 422.4 kB / 1.293 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003329/0.3194, allocations: 1.594 MB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006562/0.3201, allocations: 206.6 kB / 1.295 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.3204, allocations: 92.81 kB / 1.295 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.3204, allocations: 11.98 kB / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.3204, allocations: 34.56 kB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 4.018e-06/0.3204, allocations: 11.86 kB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001136/0.3216, allocations: 376.8 kB / 1.295 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.3216, allocations: 55.39 kB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.3232, allocations: 1.247 MB / 1.297 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.638e-05/0.3233, allocations: 29.7 kB / 1.297 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/0.3237, allocations: 432.5 kB / 1.297 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.038e-05/0.3237, allocations: 79.44 kB / 1.297 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.3238, allocations: 45.7 kB / 1.297 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.324, allocations: 318 kB / 1.298 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.3244, allocations: 147.9 kB / 1.298 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004028/0.3248, allocations: 199.6 kB / 1.298 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006764/0.3254, allocations: 283.9 kB / 1.298 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3254, allocations: 0 / 1.298 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009636/0.3264, allocations: 472.7 kB / 1.299 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.3264, allocations: 4 kB / 1.299 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.3264, allocations: 3.938 kB / 1.299 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.3265, allocations: 8.156 kB / 1.299 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.3268, allocations: 63.89 kB / 1.299 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.3268, allocations: 0 / 1.299 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.3271, allocations: 31.83 kB / 1.299 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.3271, allocations: 8 kB / 1.299 GB, free: 11.58 MB / 0.9981 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.0003565/0.3275, allocations: 281.6 kB / 1.299 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.3276, allocations: 91.39 kB / 1.299 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008826/0.3285, allocations: 327.6 kB / 1.299 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3285, allocations: 4 kB / 1.299 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3285, allocations: 0 / 1.299 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3285, allocations: 0 / 1.299 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/0.3305, allocations: 0.9678 MB / 1.3 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.3305, allocations: 4 kB / 1.3 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.3308, allocations: 47.84 kB / 1.3 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.872e-06/0.3308, allocations: 0 / 1.3 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.3308, allocations: 8 kB / 1.3 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.294e-05/0.3308, allocations: 7.984 kB / 1.3 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3308, allocations: 0 / 1.3 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000947/0.3318, allocations: 446.2 kB / 1.301 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/0.3321, allocations: 135.3 kB / 1.301 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/0.3321, allocations: 7.984 kB / 1.301 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/0.3324, allocations: 19.98 kB / 1.301 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.3325, allocations: 23.91 kB / 1.301 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.3325, allocations: 8 kB / 1.301 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001186/0.3337, allocations: 0.9067 MB / 1.302 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3337, allocations: 0 / 1.302 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004663/0.3342, allocations: 99.77 kB / 1.302 GB, free: 8.102 MB / 0.9981 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.001357/0.3355, allocations: 0.9947 MB / 1.303 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007852/0.3363, allocations: 266.4 kB / 1.303 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.3363, allocations: 8.062 kB / 1.303 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.3366, allocations: 99.81 kB / 1.303 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/0.3372, allocations: 66 kB / 1.303 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.3478, allocations: 7.267 MB / 1.31 GB, free: 15.18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006809/0.3485, allocations: 0.9876 MB / 1.311 GB, free: 14.17 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003294/0.3488, allocations: 104.6 kB / 1.312 GB, free: 14.06 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/0.3492, allocations: 299.3 kB / 1.312 GB, free: 13.77 MB / 1.014 GB Notification: Performance of SimCode: time 8.22e-07/0.3492, allocations: 0 / 1.312 GB, free: 13.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04868/0.3979, allocations: 13.95 MB / 1.325 GB, free: 15.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.14, allocations: 15.14 kB / 1.325 GB, free: 15.97 MB / 1.029 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.890429431106895]