Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 225.6 MB / 249.3 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.575/2.575, allocations: 496.2 MB / 0.7818 GB, free: 12.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 63.91 kB / 1.135 GB, free: 13.09 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7603/0.7621, allocations: 173.6 MB / 1.305 GB, free: 33.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002355/0.7645, allocations: 2.215 MB / 1.307 GB, free: 31.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.766, allocations: 1.372 MB / 1.308 GB, free: 30.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.4e-05/0.7661, allocations: 10.72 kB / 1.308 GB, free: 30.59 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004863/0.7665, allocations: 248.3 kB / 1.309 GB, free: 30.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006859/0.7672, allocations: 443 kB / 1.309 GB, free: 30.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.642e-06/0.7672, allocations: 0 / 1.309 GB, free: 30.3 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.7675, allocations: 396 kB / 1.309 GB, free: 30.13 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.7675, allocations: 10.03 kB / 1.309 GB, free: 30.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.21e-05/0.7676, allocations: 144.2 kB / 1.31 GB, free: 30.06 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.7678, allocations: 211.6 kB / 1.31 GB, free: 29.97 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.7678, allocations: 22.66 kB / 1.31 GB, free: 29.97 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003717/0.7682, allocations: 280 kB / 1.31 GB, free: 29.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.7684, allocations: 401.3 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.7686, allocations: 412.3 kB / 1.311 GB, free: 29.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006921/0.7693, allocations: 1.16 MB / 1.312 GB, free: 29.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7693, allocations: 3.328 kB / 1.312 GB, free: 29.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7693, allocations: 0 / 1.312 GB, free: 29.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.7693, allocations: 0 / 1.312 GB, free: 29.16 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001143/0.7705, allocations: 1.253 MB / 1.313 GB, free: 28.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.7705, allocations: 10.12 kB / 1.313 GB, free: 28.24 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.373e-05/0.7706, allocations: 55.56 kB / 1.313 GB, free: 28.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000551/0.7711, allocations: 149.2 kB / 1.313 GB, free: 28.13 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.7736, allocations: 4.268 MB / 1.318 GB, free: 26.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.7736, allocations: 9.938 kB / 1.318 GB, free: 26.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.7736, allocations: 16.88 kB / 1.318 GB, free: 26.37 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005784/0.7742, allocations: 0.6404 MB / 1.318 GB, free: 26.19 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.7742, allocations: 0 / 1.318 GB, free: 26.19 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.7743, allocations: 4 kB / 1.318 GB, free: 26.19 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.7743, allocations: 5.344 kB / 1.318 GB, free: 26.19 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009019/0.7752, allocations: 1.108 MB / 1.319 GB, free: 25.94 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0029/0.7781, allocations: 3.167 MB / 1.322 GB, free: 24.89 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006667/0.7787, allocations: 338.8 kB / 1.323 GB, free: 24.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.779, allocations: 216.1 kB / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.656e-05/0.7791, allocations: 29.42 kB / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.7791, allocations: 40.58 kB / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.302e-06/0.7791, allocations: 0 / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001219/0.7803, allocations: 0.7232 MB / 1.324 GB, free: 24.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.7803, allocations: 53.47 kB / 1.324 GB, free: 24.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006082/0.7864, allocations: 6.491 MB / 1.33 GB, free: 22.18 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.7865, allocations: 38.39 kB / 1.33 GB, free: 22.14 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.7867, allocations: 426.8 kB / 1.331 GB, free: 21.8 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.7867, allocations: 70.38 kB / 1.331 GB, free: 21.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.531e-05/0.7868, allocations: 63.11 kB / 1.331 GB, free: 21.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.265e-05/0.7869, allocations: 315.4 kB / 1.331 GB, free: 21.4 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005417/0.7874, allocations: 0.5259 MB / 1.331 GB, free: 21.28 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/0.7879, allocations: 0.5574 MB / 1.332 GB, free: 21.13 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007822/0.7887, allocations: 0.7657 MB / 1.333 GB, free: 20.92 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7887, allocations: 0 / 1.333 GB, free: 20.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001279/0.79, allocations: 1.233 MB / 1.334 GB, free: 20.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.79, allocations: 10.88 kB / 1.334 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.79, allocations: 0 / 1.334 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.79, allocations: 2.469 kB / 1.334 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.7904, allocations: 69.22 kB / 1.334 GB, free: 20.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.7904, allocations: 1.094 kB / 1.334 GB, free: 20.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.7908, allocations: 39.83 kB / 1.334 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.7908, allocations: 14.25 kB / 1.334 GB, free: 20.54 MB / 1.061 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.0002409/0.7911, allocations: 282.1 kB / 1.334 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.7912, allocations: 98.89 kB / 1.334 GB, free: 20.31 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008084/0.792, allocations: 0.557 MB / 1.335 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.792, allocations: 2.469 kB / 1.335 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.792, allocations: 4 kB / 1.335 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.792, allocations: 4.797 kB / 1.335 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.795, allocations: 2.807 MB / 1.338 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.795, allocations: 5.203 kB / 1.338 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.7952, allocations: 53.42 kB / 1.338 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.7953, allocations: 6.156 kB / 1.338 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.7953, allocations: 7.516 kB / 1.338 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.7953, allocations: 10.25 kB / 1.338 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.7953, allocations: 5.281 kB / 1.338 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008538/0.7961, allocations: 0.6884 MB / 1.339 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.7964, allocations: 257.1 kB / 1.339 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.7965, allocations: 12.53 kB / 1.339 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.7969, allocations: 28.36 kB / 1.339 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.7969, allocations: 30.58 kB / 1.339 GB, free: 18.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.797, allocations: 18.62 kB / 1.339 GB, free: 18.33 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.004359/0.8013, allocations: 5.155 MB / 1.344 GB, free: 16.47 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8013, allocations: 1.375 kB / 1.344 GB, free: 16.47 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006444/0.802, allocations: 189.2 kB / 1.344 GB, free: 16.46 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.001286/0.8032, allocations: 1.288 MB / 1.345 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009492/0.8042, allocations: 0.7701 MB / 1.346 GB, free: 15.33 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.8042, allocations: 0 / 1.346 GB, free: 15.33 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.8045, allocations: 226 kB / 1.346 GB, free: 15.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008223/0.8053, allocations: 191.7 kB / 1.346 GB, free: 15.19 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02154/0.8269, allocations: 22.95 MB / 1.369 GB, free: 6.742 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/0.8274, allocations: 0.9973 MB / 1.37 GB, free: 6 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004437/0.8278, allocations: 147.9 kB / 1.37 GB, free: 5.965 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003814/0.8282, allocations: 291.6 kB / 1.37 GB, free: 5.758 MB / 1.061 GB Notification: Performance of SimCode: time 1.142e-06/0.8282, allocations: 1.094 kB / 1.37 GB, free: 5.758 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05436/0.8826, allocations: 23.84 MB / 1.394 GB, free: 13.76 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.619/9.502, allocations: 11.06 kB / 1.394 GB, free: 13.75 MB / 1.076 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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: 14.925942425999892]