Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001287/0.001287, 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.001424/0.001424, allocations: 214 kB / 22.25 MB, free: 4.855 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.455/1.455, 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 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.173/3.173, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 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.EnergyConversionNormal,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_12_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.002143/0.002143, allocations: 68.64 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3851, allocations: 176.1 MB / 1.325 GB, free: 2.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003803/0.3889, allocations: 2.185 MB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.3904, allocations: 0.8739 MB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.568e-05/0.3905, allocations: 4 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005457/0.3911, allocations: 170.9 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.3912, allocations: 71.44 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.3916, allocations: 119.7 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.3919, allocations: 227 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.3921, allocations: 65.98 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.3922, allocations: 83.59 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.3923, allocations: 95.41 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.3924, allocations: 16 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.3927, allocations: 139.8 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.3929, allocations: 219.3 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.3931, allocations: 190.5 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008425/0.394, allocations: 0.7386 MB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.394, allocations: 0 / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.308e-06/0.394, allocations: 4 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.394, allocations: 4 kB / 1.33 GB, free: 13.12 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001426/0.3954, allocations: 0.9187 MB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3955, allocations: 8.031 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.628e-05/0.3955, allocations: 46.73 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005728/0.3961, allocations: 128.3 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008778/0.397, allocations: 0.5377 MB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.397, allocations: 16.36 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.397, allocations: 8.375 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.3974, allocations: 202.1 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3975, allocations: 3.938 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.3975, allocations: 4 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.3975, allocations: 4 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004802/0.398, allocations: 227.9 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.3992, allocations: 0.8156 MB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007241/0.3999, allocations: 310.4 kB / 1.333 GB, free: 9.777 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.4001, allocations: 104.9 kB / 1.333 GB, free: 9.672 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007675/0.4009, allocations: 159.9 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.4009, allocations: 38.56 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.4009, allocations: 0 / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0008825/0.4018, allocations: 405 kB / 1.334 GB, free: 9.066 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.4019, allocations: 55.39 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.4032, allocations: 0.9974 MB / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.4032, allocations: 29.7 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003383/0.4035, allocations: 340.1 kB / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.4036, allocations: 39.69 kB / 1.335 GB, free: 7.578 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/0.4037, allocations: 25.7 kB / 1.335 GB, free: 7.547 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4038, allocations: 310 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.404, allocations: 95.95 kB / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.4043, allocations: 130.8 kB / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.4047, allocations: 214.4 kB / 1.336 GB, free: 6.789 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4047, allocations: 7.938 kB / 1.336 GB, free: 6.781 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005862/0.4053, allocations: 325 kB / 1.336 GB, free: 6.457 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.4054, allocations: 4 kB / 1.336 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4054, allocations: 4 kB / 1.336 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.4054, allocations: 4 kB / 1.336 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.4056, allocations: 28.05 kB / 1.336 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.4056, allocations: 3.984 kB / 1.336 GB, free: 6.414 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.4057, allocations: 7.938 kB / 1.336 GB, free: 6.406 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.4057, allocations: 7.938 kB / 1.336 GB, free: 6.398 MB / 1.029 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.0002765/0.406, allocations: 252.9 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.4061, allocations: 79.42 kB / 1.337 GB, free: 6.066 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006465/0.4068, allocations: 332.4 kB / 1.337 GB, free: 5.734 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4068, allocations: 4 kB / 1.337 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4068, allocations: 0 / 1.337 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.4068, allocations: 0 / 1.337 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000578/0.4073, allocations: 468.3 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4074, allocations: 0 / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.4075, allocations: 19.98 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.4075, allocations: 0 / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.4075, allocations: 0 / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4075, allocations: 0 / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4075, allocations: 4 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/0.4081, allocations: 414.9 kB / 1.338 GB, free: 4.785 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002655/0.4084, allocations: 107.4 kB / 1.338 GB, free: 4.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.446e-05/0.4085, allocations: 4 kB / 1.338 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.4086, allocations: 11.98 kB / 1.338 GB, free: 4.664 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.4087, allocations: 4 kB / 1.338 GB, free: 4.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.4087, allocations: 7.984 kB / 1.338 GB, free: 4.652 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009539/0.4096, allocations: 0.7137 MB / 1.339 GB, free: 3.941 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4096, allocations: 3.938 kB / 1.339 GB, free: 3.938 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003563/0.41, allocations: 67.94 kB / 1.339 GB, free: 3.871 MB / 1.029 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.001077/0.4111, allocations: 0.9578 MB / 1.34 GB, free: 2.883 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005099/0.4116, allocations: 211.8 kB / 1.34 GB, free: 2.676 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4116, allocations: 0 / 1.34 GB, free: 2.676 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.4118, allocations: 108 kB / 1.34 GB, free: 2.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.4123, allocations: 51.86 kB / 1.34 GB, free: 2.523 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009213/0.4215, allocations: 6.388 MB / 1.346 GB, free: 12.04 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.4219, allocations: 353.4 kB / 1.347 GB, free: 11.67 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002217/0.4222, allocations: 77.33 kB / 1.347 GB, free: 11.59 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.4225, allocations: 215.4 kB / 1.347 GB, free: 11.38 MB / 1.045 GB Notification: Performance of SimCode: time 1.152e-06/0.4225, allocations: 0 / 1.347 GB, free: 11.38 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04937/0.4719, allocations: 12.56 MB / 1.359 GB, free: 14.99 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.43, allocations: 5.625 kB / 1.359 GB, free: 14.98 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.172197754960507]