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.0009579/0.0009579, 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.001001/0.001001, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.024/1.024, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.399/2.399, allocations: 438.8 MB / 0.6827 GB, free: 13.6 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.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.082e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002414/0.002434, allocations: 2.251 MB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.004072, allocations: 1.39 MB / 0.8422 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.498e-05/0.004137, allocations: 3.938 kB / 0.8422 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004699/0.004607, allocations: 239 kB / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0006158/0.005222, allocations: 426.2 kB / 0.8428 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 5.29e-06/0.005228, allocations: 0 / 0.8428 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.005567, allocations: 398.4 kB / 0.8432 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.005612, allocations: 22.55 kB / 0.8432 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.00574, allocations: 187.5 kB / 0.8434 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.005907, allocations: 179.4 kB / 0.8436 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.00593, allocations: 20 kB / 0.8436 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.006328, allocations: 323.4 kB / 0.8439 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.006537, allocations: 383.1 kB / 0.8443 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.006664, allocations: 195.4 kB / 0.8445 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004914/0.007156, allocations: 0.6344 MB / 0.8451 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.007158, allocations: 0 / 0.8451 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.62e-07/0.007159, allocations: 4 kB / 0.8451 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.007164, allocations: 0 / 0.8451 GB, free: 7.531 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.0006386/0.007802, allocations: 0.8396 MB / 0.8459 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.007835, allocations: 12.02 kB / 0.8459 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003072/0.008142, allocations: 100.8 kB / 0.846 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.008524, allocations: 489.1 kB / 0.8465 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.008539, allocations: 8.375 kB / 0.8465 GB, free: 6.043 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.008556, allocations: 16.38 kB / 0.8465 GB, free: 6.027 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.008758, allocations: 163 kB / 0.8467 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.008766, allocations: 192 / 0.8467 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.008781, allocations: 8.375 kB / 0.8467 GB, free: 5.852 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.008788, allocations: 7.938 kB / 0.8467 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.008944, allocations: 112.2 kB / 0.8468 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007574/0.009701, allocations: 0.6469 MB / 0.8474 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.009924, allocations: 156.3 kB / 0.8476 GB, free: 4.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.563e-05/0.009979, allocations: 44.83 kB / 0.8476 GB, free: 4.863 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.01001, allocations: 27.98 kB / 0.8476 GB, free: 4.836 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.01003, allocations: 38.55 kB / 0.8477 GB, free: 4.789 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=19): time 1.293e-06/0.01004, allocations: 0 / 0.8477 GB, free: 4.789 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19): time 0.0002365/0.01027, allocations: 149.8 kB / 0.8478 GB, free: 4.637 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.0103, allocations: 51.41 kB / 0.8479 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.01085, allocations: 0.8726 MB / 0.8487 GB, free: 3.688 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.01087, allocations: 25.7 kB / 0.8488 GB, free: 3.656 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.01097, allocations: 210 kB / 0.849 GB, free: 3.449 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.01101, allocations: 75.41 kB / 0.849 GB, free: 3.375 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.01107, allocations: 45.69 kB / 0.8491 GB, free: 3.324 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.369e-05/0.01115, allocations: 321.9 kB / 0.8494 GB, free: 3.004 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-05/0.01123, allocations: 46.81 kB / 0.8494 GB, free: 2.957 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.229e-05/0.01132, allocations: 73.67 kB / 0.8495 GB, free: 2.879 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.01149, allocations: 136.7 kB / 0.8496 GB, free: 2.738 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.01149, allocations: 4 kB / 0.8496 GB, free: 2.734 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002507/0.01174, allocations: 215.7 kB / 0.8498 GB, free: 2.516 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.01176, allocations: 12.03 kB / 0.8498 GB, free: 2.504 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.01177, allocations: 4 kB / 0.8498 GB, free: 2.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.01178, allocations: 0 / 0.8498 GB, free: 2.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.01195, allocations: 55.95 kB / 0.8499 GB, free: 2.445 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.01195, allocations: 7.938 kB / 0.8499 GB, free: 2.438 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.01208, allocations: 27.81 kB / 0.8499 GB, free: 2.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.01209, allocations: 4 kB / 0.8499 GB, free: 2.406 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.0001623/0.01225, allocations: 120.7 kB / 0.85 GB, free: 2.277 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.0123, allocations: 43.95 kB / 0.8501 GB, free: 2.234 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.01252, allocations: 185.1 kB / 0.8503 GB, free: 2.043 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01252, allocations: 0 / 0.8503 GB, free: 2.043 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.01252, allocations: 0 / 0.8503 GB, free: 2.043 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.01252, allocations: 3.938 kB / 0.8503 GB, free: 2.039 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007636/0.01329, allocations: 0.874 MB / 0.8511 GB, free: 1.059 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.01329, allocations: 8 kB / 0.8511 GB, free: 1.051 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.0134, allocations: 51.83 kB / 0.8512 GB, free: 1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.01341, allocations: 4.594 kB / 0.8512 GB, free: 0.9961 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.01342, allocations: 12 kB / 0.8512 GB, free: 0.9844 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.01342, allocations: 11.98 kB / 0.8512 GB, free: 0.9727 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.01343, allocations: 11.94 kB / 0.8512 GB, free: 0.9609 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.01365, allocations: 330.8 kB / 0.8515 GB, free: 0.543 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/0.01372, allocations: 75.48 kB / 0.8516 GB, free: 480 kB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.01376, allocations: 11.98 kB / 0.8516 GB, free: 468 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.01389, allocations: 12 kB / 0.8516 GB, free: 456 kB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.01393, allocations: 35.84 kB / 0.8517 GB, free: 420 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.01394, allocations: 12 kB / 0.8517 GB, free: 408 kB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003411/0.01428, allocations: 0.515 MB / 0.8522 GB, free: 15.88 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.01428, allocations: 0 / 0.8522 GB, free: 15.88 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003117/0.01459, allocations: 171.9 kB / 0.8523 GB, free: 15.71 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.0002243/0.01482, allocations: 156.2 kB / 0.8525 GB, free: 15.55 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.01502, allocations: 148.5 kB / 0.8526 GB, free: 15.41 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.01503, allocations: 12.06 kB / 0.8526 GB, free: 15.39 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.676e-05/0.0151, allocations: 60.62 kB / 0.8527 GB, free: 15.33 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.01551, allocations: 174.2 kB / 0.8529 GB, free: 15.16 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.01696, allocations: 1.326 MB / 0.8542 GB, free: 13.74 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.01709, allocations: 213.4 kB / 0.8544 GB, free: 13.51 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.01723, allocations: 72.36 kB / 0.8544 GB, free: 13.44 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.0175, allocations: 185.2 kB / 0.8546 GB, free: 13.25 MB / 0.823 GB Notification: Performance of SimCode: time 7.41e-07/0.0175, allocations: 0 / 0.8546 GB, free: 13.25 MB / 0.823 GB Notification: Performance of Templates: time 0.01297/0.03047, allocations: 11.6 MB / 0.8659 GB, free: 1.906 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 240] 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","",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.411356718745083]