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.00103/0.00103, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001034/0.001034, allocations: 165 kB / 23.81 MB, free: 0.75 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.9248/0.9248, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.899/1.899, allocations: 377.8 MB / 0.6236 GB, free: 8.602 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.242e-06/1.242e-06, allocations: 0 / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.541e-05, allocations: 8.922 kB / 0.8116 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002078/0.002094, allocations: 2.097 MB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.003633, allocations: 1.365 MB / 0.8149 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.003697, allocations: 4.656 kB / 0.8149 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004898/0.004187, allocations: 238.9 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006395/0.004826, allocations: 453.3 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 5.421e-06/0.004832, allocations: 0 / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.005095, allocations: 407.6 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.005134, allocations: 8.594 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.005259, allocations: 187.4 kB / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.005431, allocations: 191.4 kB / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.005456, allocations: 23.44 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003361/0.005792, allocations: 287.5 kB / 0.8167 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.006015, allocations: 387.2 kB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.00615, allocations: 195.5 kB / 0.8172 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005086/0.006659, allocations: 0.6344 MB / 0.8178 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.006661, allocations: 0 / 0.8178 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.42e-07/0.006662, allocations: 3.938 kB / 0.8178 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.006667, allocations: 0 / 0.8178 GB, free: 11.33 MB / 0.7761 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.0007794/0.007446, allocations: 1.011 MB / 0.8188 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.007479, allocations: 12.88 kB / 0.8188 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003235/0.007803, allocations: 129.5 kB / 0.819 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.008207, allocations: 0.5016 MB / 0.8194 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.008221, allocations: 9.625 kB / 0.8195 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.008247, allocations: 16.38 kB / 0.8195 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.008492, allocations: 176.2 kB / 0.8196 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.008502, allocations: 0.875 kB / 0.8196 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.008519, allocations: 8.375 kB / 0.8196 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.008529, allocations: 8.5 kB / 0.8197 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.008748, allocations: 166.4 kB / 0.8198 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.009803, allocations: 1.066 MB / 0.8209 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.01009, allocations: 147.8 kB / 0.821 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.893e-05/0.01018, allocations: 60.47 kB / 0.8211 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/0.01021, allocations: 23.98 kB / 0.8211 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.01023, allocations: 34.33 kB / 0.8211 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.01024, allocations: 0 / 0.8211 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0003592/0.01059, allocations: 233.1 kB / 0.8213 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.01062, allocations: 63.33 kB / 0.8214 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007156/0.01134, allocations: 1.035 MB / 0.8224 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.01136, allocations: 30.67 kB / 0.8224 GB, free: 6.457 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.01158, allocations: 414.9 kB / 0.8228 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.01162, allocations: 67.42 kB / 0.8229 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.443e-05/0.01169, allocations: 69.66 kB / 0.823 GB, free: 5.906 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.0118, allocations: 496.4 kB / 0.8234 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.676e-05/0.01189, allocations: 59.97 kB / 0.8235 GB, free: 5.355 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.01201, allocations: 91.33 kB / 0.8236 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.01219, allocations: 156.7 kB / 0.8237 GB, free: 5.098 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.0122, allocations: 1.062 kB / 0.8237 GB, free: 5.098 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003268/0.01252, allocations: 285.2 kB / 0.824 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.01254, allocations: 5.062 kB / 0.824 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.01254, allocations: 0 / 0.824 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.01255, allocations: 5.109 kB / 0.824 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.01272, allocations: 63.91 kB / 0.8241 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.01272, allocations: 3.938 kB / 0.8241 GB, free: 4.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.01285, allocations: 32.77 kB / 0.8241 GB, free: 4.707 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.01287, allocations: 8 kB / 0.8241 GB, free: 4.699 MB / 0.7761 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 9.645e-05/0.01296, allocations: 169.7 kB / 0.8243 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.01303, allocations: 75.53 kB / 0.8243 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.01331, allocations: 213.4 kB / 0.8245 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.01331, allocations: 0.9062 kB / 0.8245 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.01332, allocations: 7.938 kB / 0.8246 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01332, allocations: 9.016 kB / 0.8246 GB, free: 4.219 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009631/0.01428, allocations: 1.164 MB / 0.8257 GB, free: 2.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.01429, allocations: 4 kB / 0.8257 GB, free: 2.934 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.01439, allocations: 47.91 kB / 0.8258 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.0144, allocations: 4 kB / 0.8258 GB, free: 2.883 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.01441, allocations: 15.98 kB / 0.8258 GB, free: 2.867 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.01442, allocations: 7.938 kB / 0.8258 GB, free: 2.859 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.01442, allocations: 11.94 kB / 0.8258 GB, free: 2.848 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.01473, allocations: 406.5 kB / 0.8262 GB, free: 2.355 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.456e-05/0.0148, allocations: 79.5 kB / 0.8263 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.01485, allocations: 12 kB / 0.8263 GB, free: 2.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.01497, allocations: 15.92 kB / 0.8263 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.01501, allocations: 31.84 kB / 0.8263 GB, free: 2.219 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.01502, allocations: 8 kB / 0.8263 GB, free: 2.211 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004777/0.0155, allocations: 0.7177 MB / 0.827 GB, free: 1.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0155, allocations: 0 / 0.827 GB, free: 1.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003107/0.01581, allocations: 171.9 kB / 0.8272 GB, free: 1.332 MB / 0.7761 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.0002043/0.01601, allocations: 176.2 kB / 0.8273 GB, free: 1.152 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.01626, allocations: 163.1 kB / 0.8275 GB, free: 0.9922 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01626, allocations: 0 / 0.8275 GB, free: 0.9922 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.615e-05/0.01635, allocations: 68.66 kB / 0.8276 GB, free: 0.9219 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.01679, allocations: 183.5 kB / 0.8277 GB, free: 0.7422 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.01833, allocations: 1.352 MB / 0.8291 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.01846, allocations: 205.4 kB / 0.8293 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001243/0.01858, allocations: 76.38 kB / 0.8293 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.619e-05/0.01867, allocations: 44.48 kB / 0.8294 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of SimCode: time 5.11e-07/0.01867, allocations: 0 / 0.8294 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of Templates: time 0.01218/0.03085, allocations: 10.8 MB / 0.8399 GB, free: 4.383 MB / 0.7917 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.076171264983714]