Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001345/0.001345, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001564/0.001564, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 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.9256/0.9256, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.793/1.793, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.377e-05, allocations: 3.188 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.007607/0.007631, allocations: 2.095 MB / 0.7621 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.009597, allocations: 1.375 MB / 0.7634 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.748e-05/0.009695, allocations: 7.938 kB / 0.7634 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005765/0.01027, allocations: 243.9 kB / 0.7636 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0008984/0.01117, allocations: 444.4 kB / 0.7641 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.502e-06/0.01118, allocations: 2.188 kB / 0.7641 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.01157, allocations: 406.3 kB / 0.7645 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.681e-05/0.01162, allocations: 22.53 kB / 0.7645 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.01182, allocations: 191.4 kB / 0.7647 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.01205, allocations: 175.4 kB / 0.7648 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.01208, allocations: 20 kB / 0.7648 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004803/0.01256, allocations: 284 kB / 0.7651 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.01284, allocations: 390.6 kB / 0.7655 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.01302, allocations: 203.4 kB / 0.7657 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006379/0.01366, allocations: 0.6306 MB / 0.7663 GB, free: 220 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.01366, allocations: 0 / 0.7663 GB, free: 220 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.302e-06/0.01366, allocations: 0 / 0.7663 GB, free: 220 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.01367, allocations: 0 / 0.7663 GB, free: 220 kB / 0.7136 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.0008464/0.01452, allocations: 0.8358 MB / 0.7671 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.01455, allocations: 8.031 kB / 0.7671 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003554/0.0149, allocations: 107.4 kB / 0.7672 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/0.01537, allocations: 493 kB / 0.7677 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.01539, allocations: 8.375 kB / 0.7677 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.01541, allocations: 20.31 kB / 0.7677 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.01565, allocations: 159.7 kB / 0.7679 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.01566, allocations: 192 / 0.7679 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.01568, allocations: 9.781 kB / 0.7679 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.01568, allocations: 7.938 kB / 0.7679 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005178/0.0162, allocations: 108.8 kB / 0.768 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009637/0.01717, allocations: 0.6578 MB / 0.7686 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.01742, allocations: 154.4 kB / 0.7688 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.294e-05/0.01749, allocations: 36.84 kB / 0.7688 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.01752, allocations: 23.98 kB / 0.7688 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.01755, allocations: 38.56 kB / 0.7689 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/0.01755, allocations: 6.688 kB / 0.7689 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.0002872/0.01783, allocations: 147.4 kB / 0.769 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.01787, allocations: 55.41 kB / 0.7691 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007145/0.01858, allocations: 0.8726 MB / 0.7699 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.0186, allocations: 29.7 kB / 0.77 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.01872, allocations: 202 kB / 0.7702 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.01876, allocations: 67.42 kB / 0.7702 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.106e-05/0.01884, allocations: 58.73 kB / 0.7703 GB, free: 12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.01892, allocations: 318 kB / 0.7706 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.984e-05/0.01902, allocations: 50.81 kB / 0.7706 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.01913, allocations: 75.05 kB / 0.7707 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.01933, allocations: 140.2 kB / 0.7708 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01933, allocations: 1.469 kB / 0.7708 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003176/0.01965, allocations: 207.7 kB / 0.771 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.01967, allocations: 4 kB / 0.771 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.01967, allocations: 0.625 kB / 0.771 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.01968, allocations: 3.984 kB / 0.771 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.01988, allocations: 56.59 kB / 0.7711 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.01988, allocations: 1.156 kB / 0.7711 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.02005, allocations: 35.77 kB / 0.7711 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.02007, allocations: 9 kB / 0.7711 GB, free: 11.09 MB / 0.7292 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.0001038/0.02017, allocations: 124.6 kB / 0.7713 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.02024, allocations: 44.48 kB / 0.7713 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.0205, allocations: 180.2 kB / 0.7715 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.0205, allocations: 4 kB / 0.7715 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.02051, allocations: 0 / 0.7715 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.02051, allocations: 7.922 kB / 0.7715 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000939/0.02145, allocations: 0.8744 MB / 0.7723 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.02146, allocations: 4.906 kB / 0.7723 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.02159, allocations: 47.91 kB / 0.7724 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/0.0216, allocations: 10.88 kB / 0.7724 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.02161, allocations: 4 kB / 0.7724 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-06/0.02162, allocations: 11.98 kB / 0.7724 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.02163, allocations: 7.938 kB / 0.7724 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.02192, allocations: 332.5 kB / 0.7727 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-05/0.02201, allocations: 79.48 kB / 0.7728 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-05/0.02207, allocations: 8 kB / 0.7728 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.02226, allocations: 15.98 kB / 0.7728 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.02229, allocations: 23.86 kB / 0.7729 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.0223, allocations: 11.98 kB / 0.7729 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004487/0.02275, allocations: 0.5111 MB / 0.7734 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.02275, allocations: 0 / 0.7734 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004427/0.0232, allocations: 179.8 kB / 0.7735 GB, free: 8.422 MB / 0.7292 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.0002461/0.02344, allocations: 171.6 kB / 0.7737 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.02369, allocations: 136.5 kB / 0.7738 GB, free: 8.113 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.02369, allocations: 4 kB / 0.7738 GB, free: 8.109 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.145e-05/0.02378, allocations: 66.72 kB / 0.7739 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.02431, allocations: 187 kB / 0.7741 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.0261, allocations: 1.322 MB / 0.7754 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.02627, allocations: 210.8 kB / 0.7756 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001759/0.02645, allocations: 65.19 kB / 0.7756 GB, free: 6.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.02677, allocations: 193.1 kB / 0.7758 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of SimCode: time 6.01e-07/0.02677, allocations: 0.5938 kB / 0.7758 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of Templates: time 0.01609/0.04286, allocations: 11.6 MB / 0.7871 GB, free: 10.75 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.012076573912054]