Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.001665/0.001665, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002056/0.002056, allocations: 218.5 kB / 22.25 MB, free: 5.105 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.793 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.254/3.254, allocations: 0.49 GB / 0.7951 GB, free: 35.58 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.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",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.002061/0.002061, allocations: 69.09 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4067, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003334/0.41, allocations: 1.949 MB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002377/0.4124, allocations: 1.313 MB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.4125, allocations: 3.938 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006826/0.4132, allocations: 247.4 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.4143, allocations: 447.5 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.105e-06/0.4143, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004845/0.4148, allocations: 398.5 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.547e-05/0.4148, allocations: 12.59 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.415, allocations: 139.4 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.4153, allocations: 219.1 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.178e-05/0.4153, allocations: 24 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005879/0.4159, allocations: 295.6 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003864/0.4163, allocations: 394.8 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003634/0.4167, allocations: 334.2 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.4179, allocations: 1.171 MB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.418, allocations: 0 / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.743e-06/0.418, allocations: 0 / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.418, allocations: 0 / 1.333 GB, free: 10.59 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001964/0.4199, allocations: 1.179 MB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.42, allocations: 12.03 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.407e-05/0.4201, allocations: 50.73 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006794/0.4207, allocations: 152.2 kB / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004758/0.4255, allocations: 4.217 MB / 1.338 GB, free: 4.898 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.4255, allocations: 16.36 kB / 1.338 GB, free: 4.883 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.4256, allocations: 12.38 kB / 1.338 GB, free: 4.871 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000931/0.4265, allocations: 0.6458 MB / 1.339 GB, free: 4.219 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4265, allocations: 0 / 1.339 GB, free: 4.219 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.4265, allocations: 4 kB / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.4265, allocations: 4 kB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.4279, allocations: 1.097 MB / 1.34 GB, free: 3.113 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003775/0.4317, allocations: 3.006 MB / 1.343 GB, free: 64 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007896/0.4325, allocations: 332.4 kB / 1.343 GB, free: 15.73 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/0.4329, allocations: 236.6 kB / 1.343 GB, free: 15.5 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.971e-05/0.4329, allocations: 23.92 kB / 1.343 GB, free: 15.47 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.4329, allocations: 34.56 kB / 1.343 GB, free: 15.43 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 1.984e-06/0.4329, allocations: 4 kB / 1.343 GB, free: 15.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.001333/0.4343, allocations: 0.7173 MB / 1.344 GB, free: 14.7 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.4343, allocations: 59.39 kB / 1.344 GB, free: 14.63 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007848/0.4422, allocations: 6.493 MB / 1.35 GB, free: 8.117 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.239e-05/0.4422, allocations: 29.7 kB / 1.35 GB, free: 8.082 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/0.4427, allocations: 424.4 kB / 1.351 GB, free: 7.664 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.618e-05/0.4427, allocations: 67.44 kB / 1.351 GB, free: 7.598 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.4429, allocations: 61.64 kB / 1.351 GB, free: 7.531 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.443, allocations: 321.9 kB / 1.351 GB, free: 7.211 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006691/0.4437, allocations: 0.531 MB / 1.352 GB, free: 6.68 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006641/0.4444, allocations: 0.5483 MB / 1.352 GB, free: 6.125 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.4454, allocations: 0.7719 MB / 1.353 GB, free: 5.348 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4454, allocations: 0 / 1.353 GB, free: 5.348 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001751/0.4471, allocations: 1.227 MB / 1.354 GB, free: 4.113 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.4472, allocations: 4 kB / 1.354 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.4472, allocations: 3.984 kB / 1.354 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.4472, allocations: 8.031 kB / 1.354 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.4476, allocations: 67.89 kB / 1.354 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.4476, allocations: 0 / 1.354 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000614/0.4482, allocations: 43.77 kB / 1.354 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.4482, allocations: 8 kB / 1.354 GB, free: 3.98 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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.0004144/0.4486, allocations: 287.2 kB / 1.355 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.4488, allocations: 99.33 kB / 1.355 GB, free: 3.594 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009948/0.4498, allocations: 0.5567 MB / 1.355 GB, free: 3.023 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.4498, allocations: 0 / 1.355 GB, free: 3.023 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4498, allocations: 4 kB / 1.355 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4498, allocations: 0 / 1.355 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00358/0.4534, allocations: 2.673 MB / 1.358 GB, free: 244 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.617e-06/0.4534, allocations: 4 kB / 1.358 GB, free: 240 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.4537, allocations: 51.89 kB / 1.358 GB, free: 188 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.4537, allocations: 4 kB / 1.358 GB, free: 184 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.4537, allocations: 12 kB / 1.358 GB, free: 172 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.276e-05/0.4538, allocations: 7.938 kB / 1.358 GB, free: 164 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.4538, allocations: 8 kB / 1.358 GB, free: 156 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.4549, allocations: 0.6813 MB / 1.359 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/0.4553, allocations: 191.2 kB / 1.359 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.4554, allocations: 11.98 kB / 1.359 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.4558, allocations: 35.86 kB / 1.359 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.4558, allocations: 19.92 kB / 1.359 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.4558, allocations: 15.98 kB / 1.359 GB, free: 15.13 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.005326/0.4612, allocations: 5.157 MB / 1.364 GB, free: 9.961 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4612, allocations: 4 kB / 1.364 GB, free: 9.957 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008371/0.462, allocations: 191.9 kB / 1.364 GB, free: 9.77 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.001632/0.4636, allocations: 1.284 MB / 1.365 GB, free: 8.398 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.4648, allocations: 0.7651 MB / 1.366 GB, free: 7.633 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4648, allocations: 0 / 1.366 GB, free: 7.633 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004374/0.4652, allocations: 232.2 kB / 1.366 GB, free: 7.406 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009999/0.4662, allocations: 192.7 kB / 1.367 GB, free: 7.215 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0266/0.4928, allocations: 22.94 MB / 1.389 GB, free: 44 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.4933, allocations: 411.5 kB / 1.389 GB, free: 15.61 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004639/0.4938, allocations: 141.4 kB / 1.39 GB, free: 15.47 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000458/0.4942, allocations: 295.3 kB / 1.39 GB, free: 15.18 MB / 1.092 GB Notification: Performance of SimCode: time 1.703e-06/0.4942, allocations: 0 / 1.39 GB, free: 15.18 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06439/0.5586, allocations: 25.77 MB / 1.415 GB, free: 5.754 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.25, allocations: 3.094 kB / 1.415 GB, free: 5.754 MB / 1.107 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.25029840899515]