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.001669/0.001669, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002013/0.002013, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.801 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.839/2.839, allocations: 476 MB / 0.7699 GB, free: 4.766 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.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.002163/0.002163, allocations: 68.42 kB / 1.117 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3194, allocations: 169.9 MB / 1.283 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003619/0.3231, allocations: 2.176 MB / 1.285 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.3245, allocations: 0.8777 MB / 1.286 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.836e-05/0.3246, allocations: 0 / 1.286 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005118/0.3251, allocations: 174.9 kB / 1.286 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.3252, allocations: 67.5 kB / 1.286 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.3256, allocations: 123.7 kB / 1.286 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.3258, allocations: 223 kB / 1.286 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.326, allocations: 65.97 kB / 1.286 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.3261, allocations: 83.59 kB / 1.286 GB, free: 440 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.3262, allocations: 95.36 kB / 1.286 GB, free: 344 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.3263, allocations: 20 kB / 1.286 GB, free: 324 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.3266, allocations: 135.8 kB / 1.286 GB, free: 188 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.3268, allocations: 219.4 kB / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.327, allocations: 194.5 kB / 1.287 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007779/0.3277, allocations: 0.7426 MB / 1.288 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3277, allocations: 0 / 1.288 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3277, allocations: 0 / 1.288 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.3278, allocations: 0 / 1.288 GB, free: 15.03 MB / 0.9981 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.00133/0.3291, allocations: 0.9209 MB / 1.289 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3291, allocations: 12.02 kB / 1.289 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.317e-05/0.3292, allocations: 42.75 kB / 1.289 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005417/0.3297, allocations: 128.3 kB / 1.289 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008403/0.3306, allocations: 0.5377 MB / 1.289 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.3306, allocations: 8.375 kB / 1.289 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.3306, allocations: 12.38 kB / 1.289 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.331, allocations: 191.4 kB / 1.289 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.331, allocations: 7.938 kB / 1.289 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.331, allocations: 8 kB / 1.289 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.3311, allocations: 0 / 1.289 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.3315, allocations: 228.3 kB / 1.29 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.3328, allocations: 0.8272 MB / 1.29 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/0.3334, allocations: 306.5 kB / 1.291 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.3337, allocations: 104.9 kB / 1.291 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006909/0.3344, allocations: 167.9 kB / 1.291 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.3344, allocations: 30.56 kB / 1.291 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.3344, allocations: 3.938 kB / 1.291 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0008588/0.3352, allocations: 401 kB / 1.291 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.3353, allocations: 63.34 kB / 1.291 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.3365, allocations: 0.9896 MB / 1.292 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3366, allocations: 33.7 kB / 1.292 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.3369, allocations: 344.1 kB / 1.293 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.3369, allocations: 31.69 kB / 1.293 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.337, allocations: 29.7 kB / 1.293 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3371, allocations: 310 kB / 1.293 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.3374, allocations: 99.95 kB / 1.293 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.3376, allocations: 114.5 kB / 1.293 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.338, allocations: 222.4 kB / 1.294 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.338, allocations: 0 / 1.294 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005909/0.3386, allocations: 325.3 kB / 1.294 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3386, allocations: 13.62 kB / 1.294 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3386, allocations: 0 / 1.294 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3386, allocations: 0 / 1.294 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.3388, allocations: 31.91 kB / 1.294 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3388, allocations: 0 / 1.294 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.339, allocations: 8 kB / 1.294 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.339, allocations: 11.98 kB / 1.294 GB, free: 8.316 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.0002748/0.3393, allocations: 245.7 kB / 1.294 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.998e-05/0.3394, allocations: 83.42 kB / 1.294 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006901/0.3401, allocations: 328.4 kB / 1.295 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.3401, allocations: 4 kB / 1.295 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3401, allocations: 0 / 1.295 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3401, allocations: 0 / 1.295 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005636/0.3406, allocations: 472.2 kB / 1.295 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.3406, allocations: 0 / 1.295 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.3408, allocations: 23.92 kB / 1.295 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3408, allocations: 4 kB / 1.295 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3408, allocations: 4 kB / 1.295 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3408, allocations: 0 / 1.295 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3408, allocations: 0 / 1.295 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006105/0.3414, allocations: 410.8 kB / 1.295 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002443/0.3417, allocations: 107.4 kB / 1.296 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.3417, allocations: 8 kB / 1.296 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.3419, allocations: 7.984 kB / 1.296 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.3419, allocations: 7.984 kB / 1.296 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.342, allocations: 0 / 1.296 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009265/0.3429, allocations: 0.7176 MB / 1.296 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3429, allocations: 288 / 1.296 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003601/0.3432, allocations: 71.92 kB / 1.296 GB, free: 5.781 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.001097/0.3443, allocations: 0.9578 MB / 1.297 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005063/0.3448, allocations: 207.8 kB / 1.297 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3448, allocations: 4.125 kB / 1.297 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.3451, allocations: 107.9 kB / 1.298 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.3455, allocations: 55.5 kB / 1.298 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008665/0.3542, allocations: 6.395 MB / 1.304 GB, free: 13.94 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.3546, allocations: 350.1 kB / 1.304 GB, free: 13.57 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002043/0.3548, allocations: 81.78 kB / 1.304 GB, free: 13.49 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/0.3551, allocations: 215.4 kB / 1.305 GB, free: 13.28 MB / 1.014 GB Notification: Performance of SimCode: time 9.01e-07/0.3551, allocations: 0 / 1.305 GB, free: 13.28 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04262/0.3977, allocations: 12.56 MB / 1.317 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.1, allocations: 10.17 kB / 1.317 GB, free: 0.8867 MB / 1.014 GB " [Timeout remaining time 288] (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: 18.647515032906085]