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.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.00147/0.00147, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0018/0.0018, allocations: 177 kB / 23.36 MB, free: 1.133 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 1.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.48 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 2.448/2.448, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 4.594 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.399e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.008791/0.008815, allocations: 2.073 MB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005072/0.01389, allocations: 1.382 MB / 0.842 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.01404, allocations: 4 kB / 0.842 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006162/0.01465, allocations: 242.9 kB / 0.8422 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0009651/0.01562, allocations: 454.3 kB / 0.8426 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 6.993e-06/0.01563, allocations: 0 / 0.8426 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.01596, allocations: 402.3 kB / 0.843 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.457e-05/0.01601, allocations: 14.56 kB / 0.843 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.01618, allocations: 195.4 kB / 0.8432 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.01639, allocations: 175.4 kB / 0.8434 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.01642, allocations: 20 kB / 0.8434 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003576/0.02, allocations: 287.5 kB / 0.8437 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.02029, allocations: 387.2 kB / 0.844 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.0205, allocations: 199.4 kB / 0.8442 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.02157, allocations: 0.6344 MB / 0.8449 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.02158, allocations: 0 / 0.8449 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.114e-06/0.02158, allocations: 0 / 0.8449 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.02159, allocations: 4 kB / 0.8449 GB, free: 7.746 MB / 0.8073 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.0008195/0.02241, allocations: 0.8396 MB / 0.8457 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.02245, allocations: 12.03 kB / 0.8457 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002975/0.02274, allocations: 104.8 kB / 0.8458 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.02311, allocations: 497.1 kB / 0.8463 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.02313, allocations: 12.38 kB / 0.8463 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.02315, allocations: 12.38 kB / 0.8463 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.02335, allocations: 151.1 kB / 0.8464 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.02336, allocations: 8.172 kB / 0.8464 GB, free: 6.066 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.02338, allocations: 4.375 kB / 0.8464 GB, free: 6.062 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.02339, allocations: 7.938 kB / 0.8465 GB, free: 6.055 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.02353, allocations: 108.2 kB / 0.8466 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007656/0.02429, allocations: 0.6508 MB / 0.8472 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.02453, allocations: 161.5 kB / 0.8473 GB, free: 5.117 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.02458, allocations: 40.84 kB / 0.8474 GB, free: 5.074 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.02462, allocations: 27.98 kB / 0.8474 GB, free: 5.047 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.02464, allocations: 34.55 kB / 0.8474 GB, free: 5.004 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=19): time 1.884e-06/0.02464, allocations: 3.938 kB / 0.8475 GB, free: 5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19): time 0.0002345/0.02487, allocations: 148.1 kB / 0.8476 GB, free: 4.852 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.02491, allocations: 59.41 kB / 0.8476 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/0.02548, allocations: 0.8648 MB / 0.8485 GB, free: 3.902 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.0255, allocations: 33.64 kB / 0.8485 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.0256, allocations: 214 kB / 0.8487 GB, free: 3.652 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.02564, allocations: 63.42 kB / 0.8488 GB, free: 3.59 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.866e-05/0.0257, allocations: 53.67 kB / 0.8488 GB, free: 3.531 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.02579, allocations: 318 kB / 0.8491 GB, free: 3.215 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-05/0.02587, allocations: 46.81 kB / 0.8492 GB, free: 3.168 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.235e-05/0.02596, allocations: 73.67 kB / 0.8493 GB, free: 3.09 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.02614, allocations: 140.8 kB / 0.8494 GB, free: 2.945 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.02614, allocations: 0 / 0.8494 GB, free: 2.945 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002688/0.02641, allocations: 215.7 kB / 0.8496 GB, free: 2.727 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.02643, allocations: 4 kB / 0.8496 GB, free: 2.723 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.02643, allocations: 0 / 0.8496 GB, free: 2.723 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.02644, allocations: 4 kB / 0.8496 GB, free: 2.719 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.02661, allocations: 59.89 kB / 0.8497 GB, free: 2.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.02661, allocations: 4 kB / 0.8497 GB, free: 2.656 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.02675, allocations: 23.86 kB / 0.8497 GB, free: 2.633 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.02676, allocations: 11.98 kB / 0.8497 GB, free: 2.621 MB / 0.8073 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.0001019/0.02686, allocations: 124.6 kB / 0.8498 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.02691, allocations: 43.95 kB / 0.8499 GB, free: 2.445 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.02714, allocations: 175.8 kB / 0.85 GB, free: 2.262 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.02714, allocations: 4 kB / 0.85 GB, free: 2.258 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.02714, allocations: 0 / 0.85 GB, free: 2.258 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.02715, allocations: 3.938 kB / 0.85 GB, free: 2.254 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000801/0.02795, allocations: 0.8745 MB / 0.8509 GB, free: 1.273 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.02795, allocations: 8.094 kB / 0.8509 GB, free: 1.266 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.02806, allocations: 43.91 kB / 0.8509 GB, free: 1.223 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.02807, allocations: 8 kB / 0.8509 GB, free: 1.215 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.02808, allocations: 11.98 kB / 0.851 GB, free: 1.203 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.02808, allocations: 11.94 kB / 0.851 GB, free: 1.191 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.02809, allocations: 7.984 kB / 0.851 GB, free: 1.184 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.02834, allocations: 338 kB / 0.8513 GB, free: 0.7578 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/0.0284, allocations: 79.48 kB / 0.8514 GB, free: 0.6797 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/0.02845, allocations: 12 kB / 0.8514 GB, free: 0.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.02857, allocations: 11.98 kB / 0.8514 GB, free: 0.6562 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.0286, allocations: 31.84 kB / 0.8514 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.02862, allocations: 12 kB / 0.8514 GB, free: 0.6133 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0006099/0.02923, allocations: 0.5111 MB / 0.8519 GB, free: 104 kB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.02923, allocations: 0 / 0.8519 GB, free: 104 kB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003675/0.02959, allocations: 167.9 kB / 0.8521 GB, free: 15.93 MB / 0.823 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.0002227/0.02982, allocations: 164.1 kB / 0.8523 GB, free: 15.77 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.03002, allocations: 144.5 kB / 0.8524 GB, free: 15.62 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.03003, allocations: 8 kB / 0.8524 GB, free: 15.62 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.32e-05/0.03009, allocations: 68.27 kB / 0.8525 GB, free: 15.55 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.03051, allocations: 179.1 kB / 0.8526 GB, free: 15.38 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.03203, allocations: 1.322 MB / 0.8539 GB, free: 13.95 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.03217, allocations: 205.4 kB / 0.8541 GB, free: 13.73 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001425/0.03231, allocations: 64.41 kB / 0.8542 GB, free: 13.67 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.03258, allocations: 189.2 kB / 0.8544 GB, free: 13.48 MB / 0.823 GB Notification: Performance of SimCode: time 1.152e-06/0.03258, allocations: 4 kB / 0.8544 GB, free: 13.48 MB / 0.823 GB Notification: Performance of Templates: time 0.01531/0.04789, allocations: 11.6 MB / 0.8657 GB, free: 2.125 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.458303443156183]