Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.001541/0.001541, allocations: 111.8 kB / 18.14 MB, free: 3.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.00185/0.00185, allocations: 202 kB / 21.43 MB, free: 0.5 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.573/1.573, allocations: 225.6 MB / 250.2 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] 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 3.198/3.198, allocations: 497.2 MB / 0.7838 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] 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.DryFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 71.86 kB / 1.138 GB, free: 33.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.4259, allocations: 173.9 MB / 1.308 GB, free: 480 kB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.004171/0.4301, allocations: 2.079 MB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002713/0.4328, allocations: 1.391 MB / 1.311 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.433, allocations: 4 kB / 1.311 GB, free: 12.97 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007931/0.4338, allocations: 259.3 kB / 1.312 GB, free: 12.72 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.4352, allocations: 434.6 kB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 1.844e-05/0.4352, allocations: 0 / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006226/0.4358, allocations: 394.5 kB / 1.312 GB, free: 11.91 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.258e-05/0.4359, allocations: 8.406 kB / 1.312 GB, free: 11.89 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.4361, allocations: 143.4 kB / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.4365, allocations: 219.1 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.634e-05/0.4366, allocations: 24 kB / 1.313 GB, free: 11.51 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006316/0.4372, allocations: 271.6 kB / 1.313 GB, free: 11.25 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004315/0.4376, allocations: 394.8 kB / 1.313 GB, free: 10.86 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005658/0.4382, allocations: 409.7 kB / 1.314 GB, free: 10.46 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.4397, allocations: 1.167 MB / 1.315 GB, free: 9.285 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4397, allocations: 0 / 1.315 GB, free: 9.285 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4397, allocations: 0 / 1.315 GB, free: 9.285 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.035e-05/0.4397, allocations: 0 / 1.315 GB, free: 9.285 MB / 1.014 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.00252/0.4423, allocations: 1.256 MB / 1.316 GB, free: 7.977 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.4423, allocations: 12.62 kB / 1.316 GB, free: 7.965 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.398e-05/0.4424, allocations: 46.73 kB / 1.316 GB, free: 7.91 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007745/0.4432, allocations: 148.2 kB / 1.316 GB, free: 7.766 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004947/0.4481, allocations: 4.277 MB / 1.321 GB, free: 3.434 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.4481, allocations: 12.38 kB / 1.321 GB, free: 3.422 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.4482, allocations: 12.38 kB / 1.321 GB, free: 3.41 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009897/0.4492, allocations: 0.6395 MB / 1.321 GB, free: 2.766 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.4492, allocations: 0 / 1.321 GB, free: 2.766 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.4492, allocations: 11.98 kB / 1.321 GB, free: 2.754 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.4492, allocations: 0 / 1.321 GB, free: 2.754 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.4507, allocations: 1.105 MB / 1.322 GB, free: 1.648 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004314/0.455, allocations: 3.151 MB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008412/0.4558, allocations: 350.5 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003899/0.4562, allocations: 224.7 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.225e-05/0.4563, allocations: 27.92 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.4563, allocations: 30.56 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 2.515e-06/0.4563, allocations: 4 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001499/0.4578, allocations: 0.7252 MB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.4579, allocations: 51.41 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008415/0.4663, allocations: 6.493 MB / 1.333 GB, free: 6.488 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.481e-05/0.4663, allocations: 25.7 kB / 1.333 GB, free: 6.457 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/0.4668, allocations: 424.4 kB / 1.334 GB, free: 6.039 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.4669, allocations: 67.44 kB / 1.334 GB, free: 5.973 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.4671, allocations: 57.69 kB / 1.334 GB, free: 5.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4672, allocations: 318 kB / 1.334 GB, free: 5.594 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007578/0.468, allocations: 0.5271 MB / 1.335 GB, free: 5.066 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007238/0.4687, allocations: 0.5498 MB / 1.335 GB, free: 4.512 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.4699, allocations: 0.7791 MB / 1.336 GB, free: 3.727 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.4699, allocations: 0 / 1.336 GB, free: 3.727 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001898/0.4718, allocations: 1.231 MB / 1.337 GB, free: 2.488 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4718, allocations: 4 kB / 1.337 GB, free: 2.484 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4718, allocations: 4 kB / 1.337 GB, free: 2.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.4718, allocations: 4 kB / 1.337 GB, free: 2.477 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.4722, allocations: 67.89 kB / 1.337 GB, free: 2.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.4722, allocations: 0 / 1.337 GB, free: 2.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005944/0.4728, allocations: 43.77 kB / 1.337 GB, free: 2.367 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.4728, allocations: 11.98 kB / 1.337 GB, free: 2.355 MB / 1.029 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.000424/0.4732, allocations: 281.6 kB / 1.337 GB, free: 2.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002806/0.4735, allocations: 103.3 kB / 1.337 GB, free: 1.969 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.4746, allocations: 0.5567 MB / 1.338 GB, free: 1.406 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.4746, allocations: 4 kB / 1.338 GB, free: 1.402 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4746, allocations: 0 / 1.338 GB, free: 1.402 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.4746, allocations: 4 kB / 1.338 GB, free: 1.398 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004507/0.4792, allocations: 2.814 MB / 1.341 GB, free: 14.47 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.4792, allocations: 4 kB / 1.341 GB, free: 14.46 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.4794, allocations: 51.89 kB / 1.341 GB, free: 14.41 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/0.4795, allocations: 8 kB / 1.341 GB, free: 14.41 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.4795, allocations: 12.44 kB / 1.341 GB, free: 14.39 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.4795, allocations: 7.938 kB / 1.341 GB, free: 14.39 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.4795, allocations: 11.94 kB / 1.341 GB, free: 14.38 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.4808, allocations: 0.6772 MB / 1.342 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005028/0.4813, allocations: 264.3 kB / 1.342 GB, free: 13.35 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002815/0.4815, allocations: 8 kB / 1.342 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004731/0.482, allocations: 31.98 kB / 1.342 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.4821, allocations: 23.86 kB / 1.342 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.4821, allocations: 19.92 kB / 1.342 GB, free: 13.27 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.005788/0.4879, allocations: 5.153 MB / 1.347 GB, free: 8.102 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4879, allocations: 0 / 1.347 GB, free: 8.102 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008395/0.4887, allocations: 195.9 kB / 1.347 GB, free: 7.91 MB / 1.045 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.00192/0.4906, allocations: 1.285 MB / 1.348 GB, free: 6.543 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.4918, allocations: 0.7731 MB / 1.349 GB, free: 5.77 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.4918, allocations: 0 / 1.349 GB, free: 5.77 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.4922, allocations: 224.3 kB / 1.349 GB, free: 5.551 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.4934, allocations: 192.7 kB / 1.35 GB, free: 5.359 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02846/0.5219, allocations: 22.95 MB / 1.372 GB, free: 14.16 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008827/0.5227, allocations: 1.003 MB / 1.373 GB, free: 13.13 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004769/0.5232, allocations: 145.4 kB / 1.373 GB, free: 12.99 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005431/0.5238, allocations: 299.3 kB / 1.373 GB, free: 12.7 MB / 1.076 GB Notification: Performance of SimCode: time 1.242e-06/0.5238, allocations: 3.938 kB / 1.373 GB, free: 12.69 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06394/0.5877, allocations: 23.84 MB / 1.397 GB, free: 5.086 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.571/10.16, allocations: 1.531 kB / 1.397 GB, free: 5.086 MB / 1.092 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.105689881835133]