Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.001899/0.001899, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002239/0.002239, allocations: 217 kB / 22.25 MB, free: 5.082 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 8.031 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.93/2.93, allocations: 476.7 MB / 0.7707 GB, free: 4.316 MB / 0.6231 GB " [Timeout remaining time 176] 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.EnergyConversionNormal,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",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.002072/0.002072, allocations: 65.3 kB / 1.117 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3025, allocations: 170 MB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003841/0.3063, allocations: 2.301 MB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.308, allocations: 0.9671 MB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.085e-05/0.3081, allocations: 4 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005072/0.3086, allocations: 194.7 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.3087, allocations: 75.44 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.3091, allocations: 111.7 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.3093, allocations: 219.1 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.3095, allocations: 81.91 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.3096, allocations: 87.53 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.3097, allocations: 103.4 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.3098, allocations: 16 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002909/0.3101, allocations: 155.8 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001834/0.3103, allocations: 215.3 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.3105, allocations: 266.1 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007456/0.3112, allocations: 0.7349 MB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3112, allocations: 0 / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.532e-06/0.3112, allocations: 0 / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.3112, allocations: 0 / 1.289 GB, free: 6.098 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001256/0.3125, allocations: 0.9187 MB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.3125, allocations: 12.03 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.284e-05/0.3126, allocations: 42.75 kB / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005763/0.3132, allocations: 128.3 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008747/0.314, allocations: 0.5377 MB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.3141, allocations: 12.38 kB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.3141, allocations: 8.375 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.3145, allocations: 195.4 kB / 1.291 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3145, allocations: 3.938 kB / 1.291 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.3146, allocations: 7.938 kB / 1.291 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.3146, allocations: 7.938 kB / 1.291 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005143/0.3151, allocations: 232.4 kB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.3164, allocations: 0.8818 MB / 1.292 GB, free: 3 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006943/0.3171, allocations: 318.4 kB / 1.292 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.3174, allocations: 112.8 kB / 1.292 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006897/0.318, allocations: 155.9 kB / 1.292 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.3181, allocations: 34.56 kB / 1.292 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.3181, allocations: 0 / 1.292 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0008249/0.3189, allocations: 409 kB / 1.293 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.3189, allocations: 51.41 kB / 1.293 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.3202, allocations: 0.9974 MB / 1.294 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.3202, allocations: 25.7 kB / 1.294 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003216/0.3205, allocations: 344.1 kB / 1.294 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.3206, allocations: 35.69 kB / 1.294 GB, free: 500 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.3206, allocations: 29.7 kB / 1.294 GB, free: 464 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3208, allocations: 306 kB / 1.294 GB, free: 152 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.321, allocations: 99.95 kB / 1.294 GB, free: 52 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.3212, allocations: 126.5 kB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.3217, allocations: 210.5 kB / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3217, allocations: 0 / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005955/0.3223, allocations: 332.9 kB / 1.295 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3223, allocations: 8.469 kB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3223, allocations: 0 / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3223, allocations: 0 / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.3225, allocations: 31.91 kB / 1.295 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3225, allocations: 0 / 1.295 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.3227, allocations: 16 kB / 1.295 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.3227, allocations: 11.97 kB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0002891/0.323, allocations: 249.7 kB / 1.295 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.3231, allocations: 79.42 kB / 1.295 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006284/0.3237, allocations: 328.4 kB / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3237, allocations: 0 / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3237, allocations: 0 / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3237, allocations: 4 kB / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005965/0.3243, allocations: 0.5117 MB / 1.296 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3243, allocations: 0 / 1.296 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.3245, allocations: 23.97 kB / 1.296 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3245, allocations: 0 / 1.296 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.3245, allocations: 4 kB / 1.296 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3245, allocations: 0 / 1.296 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3245, allocations: 0 / 1.296 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/0.3251, allocations: 410.8 kB / 1.297 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.3253, allocations: 103.5 kB / 1.297 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/0.3253, allocations: 4 kB / 1.297 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.3255, allocations: 12 kB / 1.297 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.3256, allocations: 7.984 kB / 1.297 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.3256, allocations: 4 kB / 1.297 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009378/0.3265, allocations: 0.7176 MB / 1.298 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3265, allocations: 0 / 1.298 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003636/0.3269, allocations: 71.89 kB / 1.298 GB, free: 12.72 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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.001076/0.328, allocations: 0.9657 MB / 1.299 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005025/0.3285, allocations: 208 kB / 1.299 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3285, allocations: 4 kB / 1.299 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.3287, allocations: 107.9 kB / 1.299 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.3292, allocations: 49.03 kB / 1.299 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008954/0.3381, allocations: 6.396 MB / 1.305 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006284/0.3387, allocations: 0.9486 MB / 1.306 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002107/0.339, allocations: 73.33 kB / 1.306 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/0.3392, allocations: 219.4 kB / 1.306 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of SimCode: time 1.142e-06/0.3392, allocations: 0 / 1.306 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04197/0.3812, allocations: 11.96 MB / 1.318 GB, free: 7.816 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.54, allocations: 5.766 kB / 1.318 GB, free: 7.816 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.403463353868574]