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.001814/0.001814, allocations: 111 kB / 16.46 MB, free: 6.453 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.00203/0.00203, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.461/1.461, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.292/3.292, allocations: 0.49 GB / 0.7916 GB, free: 33.27 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.002238/0.002238, allocations: 71.23 kB / 1.149 GB, free: 26.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.402, allocations: 176.1 MB / 1.321 GB, free: 3.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003896/0.4059, allocations: 2.297 MB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.4077, allocations: 0.9633 MB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.4078, allocations: 0 / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006405/0.4084, allocations: 199.1 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.4086, allocations: 59.52 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.409, allocations: 123.7 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.4093, allocations: 219.1 kB / 1.325 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.4095, allocations: 69.69 kB / 1.325 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.4096, allocations: 87.53 kB / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.4098, allocations: 103.4 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.4098, allocations: 16 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003406/0.4102, allocations: 151.8 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.4104, allocations: 219.3 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.4106, allocations: 266 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008964/0.4115, allocations: 0.727 MB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.4115, allocations: 0 / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4115, allocations: 0 / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.4115, allocations: 0 / 1.326 GB, free: 13.95 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.001519/0.413, allocations: 1.002 MB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/0.4131, allocations: 15.98 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.33e-05/0.4132, allocations: 46.73 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005878/0.4138, allocations: 124.3 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008653/0.4146, allocations: 0.5903 MB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.4146, allocations: 16.38 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.4147, allocations: 12.36 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004585/0.4151, allocations: 202.2 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4151, allocations: 3.938 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.4152, allocations: 4 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.4152, allocations: 4 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005029/0.4157, allocations: 223.9 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.4171, allocations: 0.9255 MB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007309/0.4178, allocations: 306.5 kB / 1.33 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.4181, allocations: 104.9 kB / 1.33 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008735/0.4189, allocations: 241 kB / 1.33 GB, free: 9.957 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.419, allocations: 42.5 kB / 1.33 GB, free: 9.906 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.984e-06/0.419, allocations: 0 / 1.33 GB, free: 9.906 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0009876/0.42, allocations: 405.2 kB / 1.33 GB, free: 9.504 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.42, allocations: 55.41 kB / 1.33 GB, free: 9.438 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.4214, allocations: 0.9935 MB / 1.331 GB, free: 8.434 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.4215, allocations: 29.7 kB / 1.331 GB, free: 8.398 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/0.4218, allocations: 348.1 kB / 1.332 GB, free: 8.051 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.4218, allocations: 31.75 kB / 1.332 GB, free: 8.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.4219, allocations: 21.72 kB / 1.332 GB, free: 7.992 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4221, allocations: 314 kB / 1.332 GB, free: 7.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.4223, allocations: 99.95 kB / 1.332 GB, free: 7.582 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.4225, allocations: 122.5 kB / 1.332 GB, free: 7.453 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/0.423, allocations: 218.4 kB / 1.332 GB, free: 7.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.423, allocations: 0 / 1.332 GB, free: 7.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006572/0.4237, allocations: 332.9 kB / 1.333 GB, free: 6.898 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4237, allocations: 4 kB / 1.333 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4237, allocations: 0 / 1.333 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.4237, allocations: 4 kB / 1.333 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.4239, allocations: 19.98 kB / 1.333 GB, free: 6.871 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.4239, allocations: 4 kB / 1.333 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.4241, allocations: 15.98 kB / 1.333 GB, free: 6.852 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.4241, allocations: 8 kB / 1.333 GB, free: 6.844 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.000304/0.4244, allocations: 249.7 kB / 1.333 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.4245, allocations: 83.41 kB / 1.333 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006827/0.4252, allocations: 328.6 kB / 1.333 GB, free: 6.176 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.4252, allocations: 0 / 1.333 GB, free: 6.176 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4252, allocations: 3.984 kB / 1.333 GB, free: 6.172 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4252, allocations: 4 kB / 1.333 GB, free: 6.168 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000654/0.4259, allocations: 0.5285 MB / 1.334 GB, free: 5.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4259, allocations: 3.938 kB / 1.334 GB, free: 5.586 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.426, allocations: 19.98 kB / 1.334 GB, free: 5.566 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.426, allocations: 0 / 1.334 GB, free: 5.566 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.4261, allocations: 11.98 kB / 1.334 GB, free: 5.555 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4261, allocations: 0 / 1.334 GB, free: 5.555 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4261, allocations: 0 / 1.334 GB, free: 5.555 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006531/0.4267, allocations: 414.8 kB / 1.334 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.4269, allocations: 184.5 kB / 1.335 GB, free: 4.934 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.427, allocations: 4 kB / 1.335 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.4272, allocations: 8 kB / 1.335 GB, free: 4.922 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.4272, allocations: 7.984 kB / 1.335 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.4272, allocations: 4 kB / 1.335 GB, free: 4.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001041/0.4283, allocations: 0.7176 MB / 1.335 GB, free: 4.195 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4283, allocations: 0 / 1.335 GB, free: 4.195 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003976/0.4287, allocations: 67.94 kB / 1.335 GB, free: 4.129 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.00113/0.4298, allocations: 0.9617 MB / 1.336 GB, free: 3.137 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005617/0.4304, allocations: 216.2 kB / 1.337 GB, free: 2.926 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4304, allocations: 0 / 1.337 GB, free: 2.926 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.4306, allocations: 107.9 kB / 1.337 GB, free: 2.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.4311, allocations: 51.52 kB / 1.337 GB, free: 2.773 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009356/0.4404, allocations: 6.38 MB / 1.343 GB, free: 12.29 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006473/0.4411, allocations: 0.9479 MB / 1.344 GB, free: 11.32 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002186/0.4413, allocations: 73.33 kB / 1.344 GB, free: 11.25 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/0.4416, allocations: 219.4 kB / 1.344 GB, free: 11.03 MB / 1.045 GB Notification: Performance of SimCode: time 7.01e-07/0.4416, allocations: 4 kB / 1.344 GB, free: 11.03 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04365/0.4852, allocations: 11.84 MB / 1.356 GB, free: 15.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.77/10.26, allocations: 3.938 kB / 1.356 GB, free: 15.35 MB / 1.061 GB " [Timeout remaining time 290] (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: 17.272789226844907]