Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001295/0.001295, 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.001478/0.001478, allocations: 217.1 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.466/1.466, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.319/3.319, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_latest_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.002924/0.002924, allocations: 62.36 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4118, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004376/0.4161, allocations: 2.179 MB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001831/0.418, allocations: 0.8668 MB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002581/0.4182, allocations: 0 / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008641/0.4191, allocations: 187.1 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.4194, allocations: 67.45 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005978/0.42, allocations: 115.7 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.4204, allocations: 227 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.4206, allocations: 61.98 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.4208, allocations: 83.59 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.421, allocations: 95.41 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.421, allocations: 16 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.4214, allocations: 147.8 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002476/0.4216, allocations: 215.3 kB / 1.368 GB, free: 9.773 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.4218, allocations: 190.5 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009393/0.4228, allocations: 0.7309 MB / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4228, allocations: 0 / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4228, allocations: 0 / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.498e-05/0.4228, allocations: 0 / 1.368 GB, free: 8.852 MB / 1.061 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.001688/0.4245, allocations: 0.9226 MB / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.4245, allocations: 11.97 kB / 1.369 GB, free: 7.879 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.727e-05/0.4246, allocations: 42.73 kB / 1.369 GB, free: 7.828 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005703/0.4252, allocations: 124.4 kB / 1.37 GB, free: 7.707 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009572/0.4261, allocations: 0.5416 MB / 1.37 GB, free: 7.137 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.4262, allocations: 8.375 kB / 1.37 GB, free: 7.129 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.4262, allocations: 12.38 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.4266, allocations: 202.6 kB / 1.37 GB, free: 6.914 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.4266, allocations: 3.938 kB / 1.37 GB, free: 6.91 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.4267, allocations: 8 kB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4267, allocations: 0 / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004984/0.4272, allocations: 227.9 kB / 1.37 GB, free: 6.68 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.4287, allocations: 0.8232 MB / 1.371 GB, free: 5.812 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007292/0.4294, allocations: 306.5 kB / 1.372 GB, free: 5.504 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.4296, allocations: 108.9 kB / 1.372 GB, free: 5.395 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000757/0.4304, allocations: 171.7 kB / 1.372 GB, free: 5.227 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.4304, allocations: 30.56 kB / 1.372 GB, free: 5.188 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.4304, allocations: 0 / 1.372 GB, free: 5.188 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0009241/0.4313, allocations: 405 kB / 1.372 GB, free: 4.785 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.4314, allocations: 51.41 kB / 1.372 GB, free: 4.723 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.4328, allocations: 1.001 MB / 1.373 GB, free: 3.715 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.4328, allocations: 25.7 kB / 1.373 GB, free: 3.684 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/0.4331, allocations: 344.2 kB / 1.374 GB, free: 3.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.4332, allocations: 39.72 kB / 1.374 GB, free: 3.301 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-05/0.4332, allocations: 25.72 kB / 1.374 GB, free: 3.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4334, allocations: 310 kB / 1.374 GB, free: 2.961 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.4336, allocations: 95.95 kB / 1.374 GB, free: 2.867 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.4339, allocations: 122.5 kB / 1.374 GB, free: 2.738 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.4343, allocations: 218.8 kB / 1.374 GB, free: 2.516 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4343, allocations: 0 / 1.374 GB, free: 2.516 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005979/0.4349, allocations: 336.9 kB / 1.375 GB, free: 2.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.4349, allocations: 4 kB / 1.375 GB, free: 2.176 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4349, allocations: 0 / 1.375 GB, free: 2.176 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.4349, allocations: 0 / 1.375 GB, free: 2.176 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.4351, allocations: 27.98 kB / 1.375 GB, free: 2.148 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.4351, allocations: 0 / 1.375 GB, free: 2.148 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.4353, allocations: 19.88 kB / 1.375 GB, free: 2.129 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.4353, allocations: 8.062 kB / 1.375 GB, free: 2.121 MB / 1.061 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.0003014/0.4356, allocations: 253.7 kB / 1.375 GB, free: 1.863 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.4357, allocations: 79.42 kB / 1.375 GB, free: 1.785 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006694/0.4364, allocations: 324.5 kB / 1.375 GB, free: 1.461 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.4364, allocations: 0 / 1.375 GB, free: 1.461 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4364, allocations: 3.938 kB / 1.375 GB, free: 1.457 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4364, allocations: 7.922 kB / 1.375 GB, free: 1.449 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005799/0.437, allocations: 448.4 kB / 1.376 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.437, allocations: 7.984 kB / 1.376 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.4371, allocations: 19.98 kB / 1.376 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.4371, allocations: 0 / 1.376 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.4371, allocations: 8 kB / 1.376 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4371, allocations: 0 / 1.376 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4371, allocations: 0 / 1.376 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006212/0.4377, allocations: 414.9 kB / 1.376 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.438, allocations: 115.4 kB / 1.376 GB, free: 408 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.4381, allocations: 0 / 1.376 GB, free: 408 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.4382, allocations: 4 kB / 1.376 GB, free: 404 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.4383, allocations: 15.97 kB / 1.376 GB, free: 388 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.4383, allocations: 0 / 1.376 GB, free: 388 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009541/0.4392, allocations: 0.7215 MB / 1.377 GB, free: 15.66 MB / 1.076 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4392, allocations: 0 / 1.377 GB, free: 15.66 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003616/0.4396, allocations: 67.89 kB / 1.377 GB, free: 15.59 MB / 1.076 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.001018/0.4406, allocations: 0.954 MB / 1.378 GB, free: 14.61 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005139/0.4411, allocations: 211.9 kB / 1.378 GB, free: 14.4 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4411, allocations: 0 / 1.378 GB, free: 14.4 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.4414, allocations: 107.9 kB / 1.378 GB, free: 14.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.4418, allocations: 51.31 kB / 1.378 GB, free: 14.25 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00911/0.4509, allocations: 6.389 MB / 1.385 GB, free: 7.762 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.4514, allocations: 345.4 kB / 1.385 GB, free: 7.402 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002199/0.4516, allocations: 81.33 kB / 1.385 GB, free: 7.32 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/0.4519, allocations: 219.4 kB / 1.385 GB, free: 7.105 MB / 1.076 GB Notification: Performance of SimCode: time 9.82e-07/0.4519, allocations: 3.938 kB / 1.385 GB, free: 7.102 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04677/0.4987, allocations: 12.54 MB / 1.398 GB, free: 10.73 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.26, allocations: 7.234 kB / 1.398 GB, free: 10.73 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.319462585262954]