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.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.000831/0.000831, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008676/0.0008676, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8936/0.8936, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.759/1.759, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.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 2.204e-06/2.204e-06, allocations: 3.984 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.544e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002093/0.002109, allocations: 2.077 MB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.00356, allocations: 1.297 MB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.00362, allocations: 0 / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004335/0.004054, allocations: 246.9 kB / 1.003 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005938/0.004648, allocations: 448.4 kB / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.661e-06/0.004653, allocations: 4 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.004892, allocations: 406.3 kB / 1.004 GB, free: 9 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.004933, allocations: 12.58 kB / 1.004 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.005051, allocations: 187.5 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.005341, allocations: 187.4 kB / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.005363, allocations: 20 kB / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.005665, allocations: 283.5 kB / 1.005 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.00587, allocations: 407 kB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.006021, allocations: 275.3 kB / 1.005 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006783/0.006699, allocations: 1.152 MB / 1.006 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.006701, allocations: 4 kB / 1.006 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.81e-07/0.006702, allocations: 4 kB / 1.006 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.006708, allocations: 0 / 1.006 GB, free: 6.492 MB / 0.9636 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.001158/0.007866, allocations: 1.195 MB / 1.008 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.007904, allocations: 8.75 kB / 1.008 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.007948, allocations: 50.73 kB / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003467/0.008295, allocations: 152.2 kB / 1.008 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002633/0.01093, allocations: 4.228 MB / 1.012 GB, free: 0.7773 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.01095, allocations: 16.38 kB / 1.012 GB, free: 0.7617 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.01097, allocations: 16.36 kB / 1.012 GB, free: 0.7461 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005128/0.01148, allocations: 0.6322 MB / 1.013 GB, free: 112 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.01149, allocations: 192 / 1.013 GB, free: 112 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.01151, allocations: 12.12 kB / 1.013 GB, free: 100 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.01151, allocations: 4 kB / 1.013 GB, free: 96 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007967/0.01231, allocations: 1.109 MB / 1.014 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.01446, allocations: 3.018 MB / 1.017 GB, free: 11.92 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.01492, allocations: 332.9 kB / 1.017 GB, free: 11.59 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.01512, allocations: 224.8 kB / 1.017 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.01516, allocations: 23.98 kB / 1.017 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.01518, allocations: 38.5 kB / 1.017 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=19): time 1.683e-06/0.01518, allocations: 0 / 1.017 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=19): time 0.000763/0.01594, allocations: 0.7236 MB / 1.018 GB, free: 10.57 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.01598, allocations: 55.41 kB / 1.018 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004451/0.02043, allocations: 6.509 MB / 1.024 GB, free: 3.969 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.02045, allocations: 29.7 kB / 1.024 GB, free: 3.934 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.02067, allocations: 416.5 kB / 1.025 GB, free: 3.523 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.0207, allocations: 63.44 kB / 1.025 GB, free: 3.461 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.945e-05/0.02077, allocations: 61.64 kB / 1.025 GB, free: 3.395 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 6.91e-05/0.02084, allocations: 318 kB / 1.025 GB, free: 3.078 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005056/0.02135, allocations: 0.5271 MB / 1.026 GB, free: 2.551 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.02173, allocations: 0.5561 MB / 1.026 GB, free: 1.988 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005776/0.02231, allocations: 0.7728 MB / 1.027 GB, free: 1.211 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.02231, allocations: 4 kB / 1.027 GB, free: 1.207 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008826/0.02319, allocations: 1.231 MB / 1.028 GB, free: 15.97 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.02321, allocations: 7.938 kB / 1.028 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.02321, allocations: 3.938 kB / 1.028 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.02322, allocations: 4 kB / 1.028 GB, free: 15.95 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.02339, allocations: 63.95 kB / 1.028 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.02339, allocations: 0 / 1.028 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.02359, allocations: 51.77 kB / 1.028 GB, free: 15.84 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.02361, allocations: 12.02 kB / 1.028 GB, free: 15.83 MB / 0.9948 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.0001974/0.0238, allocations: 285.6 kB / 1.029 GB, free: 15.54 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.869e-05/0.02389, allocations: 103.3 kB / 1.029 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005522/0.02445, allocations: 0.5587 MB / 1.029 GB, free: 14.87 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.02445, allocations: 8 kB / 1.029 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.02445, allocations: 0 / 1.029 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.02446, allocations: 0 / 1.029 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.02638, allocations: 2.665 MB / 1.032 GB, free: 12.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.02638, allocations: 4 kB / 1.032 GB, free: 12.08 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.0265, allocations: 55.89 kB / 1.032 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.0265, allocations: 11.94 kB / 1.032 GB, free: 12.02 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.02652, allocations: 4 kB / 1.032 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.02652, allocations: 8.438 kB / 1.032 GB, free: 12 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.02652, allocations: 11.94 kB / 1.032 GB, free: 11.99 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005963/0.02712, allocations: 0.6642 MB / 1.033 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.0273, allocations: 199.2 kB / 1.033 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.469e-05/0.02736, allocations: 16 kB / 1.033 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.02756, allocations: 35.98 kB / 1.033 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.02759, allocations: 27.84 kB / 1.033 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.0276, allocations: 12 kB / 1.033 GB, free: 10.97 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002886/0.03049, allocations: 5.157 MB / 1.038 GB, free: 5.801 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.01e-07/0.03049, allocations: 3.938 kB / 1.038 GB, free: 5.797 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004079/0.0309, allocations: 191.9 kB / 1.038 GB, free: 5.609 MB / 0.9948 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.00143/0.03233, allocations: 1.297 MB / 1.039 GB, free: 4.23 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0006508/0.03298, allocations: 0.7728 MB / 1.04 GB, free: 3.457 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.03298, allocations: 0 / 1.04 GB, free: 3.457 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.03318, allocations: 216.9 kB / 1.04 GB, free: 3.246 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/0.03377, allocations: 206.2 kB / 1.041 GB, free: 3.043 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4019/0.4357, allocations: 22.91 MB / 1.063 GB, free: 98.18 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.4359, allocations: 404.8 kB / 1.063 GB, free: 98.04 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002637/0.4362, allocations: 142 kB / 1.063 GB, free: 98.03 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.4364, allocations: 309.8 kB / 1.064 GB, free: 97.82 MB / 1.01 GB Notification: Performance of SimCode: time 8.71e-07/0.4364, allocations: 0.5938 kB / 1.064 GB, free: 97.82 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.4684, allocations: 25.32 MB / 1.088 GB, free: 94.77 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.207/7.676, allocations: 8.125 kB / 1.088 GB, free: 94.77 MB / 1.01 GB " [Timeout remaining time 292] (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 --stepSize=0.0004 --timeout=800 --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 840.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/jenkins/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: 11.733013018034399]