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.001449/0.001449, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001316/0.001316, allocations: 181 kB / 24.09 MB, free: 420 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 1.003/1.003, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.846/1.846, allocations: 377.9 MB / 0.624 GB, free: 8.41 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.643e-06/1.643e-06, allocations: 0 / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.909e-05, allocations: 5.391 kB / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003128/0.003147, allocations: 2.074 MB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.005368, allocations: 1.354 MB / 0.8154 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.005469, allocations: 0 / 0.8154 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000619/0.006088, allocations: 243.5 kB / 0.8156 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007086/0.006796, allocations: 448.8 kB / 0.816 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 4.589e-06/0.006801, allocations: 1.812 kB / 0.816 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.007069, allocations: 410.3 kB / 0.8164 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.007113, allocations: 8.594 kB / 0.8164 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.007304, allocations: 191.4 kB / 0.8166 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.007526, allocations: 183.4 kB / 0.8168 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.007559, allocations: 26.53 kB / 0.8168 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004375/0.007996, allocations: 283.5 kB / 0.8171 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.008281, allocations: 391.1 kB / 0.8175 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.008452, allocations: 195.5 kB / 0.8176 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006812/0.009134, allocations: 0.6344 MB / 0.8183 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.009136, allocations: 0 / 0.8183 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.82e-07/0.009137, allocations: 0 / 0.8183 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.009142, allocations: 0.5 kB / 0.8183 GB, free: 11.07 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.0009678/0.01011, allocations: 1.023 MB / 0.8193 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.01014, allocations: 9.969 kB / 0.8193 GB, free: 10 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003732/0.01052, allocations: 128.4 kB / 0.8194 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/0.01094, allocations: 473.1 kB / 0.8198 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.01096, allocations: 14.28 kB / 0.8199 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.01099, allocations: 16.38 kB / 0.8199 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.01124, allocations: 160.2 kB / 0.82 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.01125, allocations: 4.125 kB / 0.82 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.01126, allocations: 9.062 kB / 0.82 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.01127, allocations: 3.938 kB / 0.82 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.01147, allocations: 137.8 kB / 0.8202 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.01262, allocations: 0.9344 MB / 0.8211 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.01287, allocations: 128.6 kB / 0.8212 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.628e-05/0.01294, allocations: 63.47 kB / 0.8213 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/0.01298, allocations: 24.78 kB / 0.8213 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.01301, allocations: 36.48 kB / 0.8213 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 1.243e-06/0.01301, allocations: 0 / 0.8213 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0003591/0.01337, allocations: 207.7 kB / 0.8215 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.01339, allocations: 55.41 kB / 0.8216 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008395/0.01423, allocations: 0.9795 MB / 0.8225 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.01425, allocations: 25.7 kB / 0.8226 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/0.01453, allocations: 414.8 kB / 0.823 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.01457, allocations: 67.42 kB / 0.823 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.01467, allocations: 69.77 kB / 0.8231 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.0148, allocations: 0.4887 MB / 0.8236 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.01491, allocations: 55.91 kB / 0.8236 GB, free: 5.41 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.01503, allocations: 79.31 kB / 0.8237 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.01524, allocations: 144.8 kB / 0.8238 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01524, allocations: 0.9688 kB / 0.8238 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003892/0.01563, allocations: 274.2 kB / 0.8241 GB, free: 4.902 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.01564, allocations: 8 kB / 0.8241 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01565, allocations: 0 / 0.8241 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.01566, allocations: 5.109 kB / 0.8241 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.01586, allocations: 63.89 kB / 0.8242 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.01587, allocations: 3.938 kB / 0.8242 GB, free: 4.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.01605, allocations: 32.92 kB / 0.8242 GB, free: 4.793 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.01607, allocations: 12 kB / 0.8242 GB, free: 4.781 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 0.0001093/0.01618, allocations: 165.5 kB / 0.8244 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/0.01627, allocations: 75.53 kB / 0.8244 GB, free: 4.535 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.01656, allocations: 199.2 kB / 0.8246 GB, free: 4.336 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.01657, allocations: 4 kB / 0.8246 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.01657, allocations: 0.7188 kB / 0.8246 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01657, allocations: 3.938 kB / 0.8246 GB, free: 4.328 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.01764, allocations: 1.042 MB / 0.8257 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.01765, allocations: 4 kB / 0.8257 GB, free: 3.172 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.01778, allocations: 51.89 kB / 0.8257 GB, free: 3.121 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.01779, allocations: 6.438 kB / 0.8257 GB, free: 3.117 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.0178, allocations: 12 kB / 0.8257 GB, free: 3.105 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.01781, allocations: 7.938 kB / 0.8257 GB, free: 3.098 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.01781, allocations: 7.938 kB / 0.8257 GB, free: 3.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.01817, allocations: 398.7 kB / 0.8261 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.37e-05/0.01825, allocations: 77.16 kB / 0.8262 GB, free: 2.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.01831, allocations: 8 kB / 0.8262 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.01849, allocations: 15.98 kB / 0.8262 GB, free: 2.504 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.01853, allocations: 31.84 kB / 0.8262 GB, free: 2.473 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.01854, allocations: 8.625 kB / 0.8263 GB, free: 2.465 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004974/0.01904, allocations: 0.6355 MB / 0.8269 GB, free: 1.836 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01904, allocations: 3.938 kB / 0.8269 GB, free: 1.832 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004419/0.01948, allocations: 175.9 kB / 0.827 GB, free: 1.66 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.0002258/0.01971, allocations: 171 kB / 0.8272 GB, free: 1.484 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002613/0.01997, allocations: 152.9 kB / 0.8274 GB, free: 1.332 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01997, allocations: 0 / 0.8274 GB, free: 1.332 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.375e-05/0.02007, allocations: 71.58 kB / 0.8274 GB, free: 1.258 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005869/0.02065, allocations: 183.8 kB / 0.8276 GB, free: 1.078 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.02243, allocations: 1.345 MB / 0.8289 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.0226, allocations: 212.9 kB / 0.8291 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.02277, allocations: 72.39 kB / 0.8292 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/0.02311, allocations: 226.1 kB / 0.8294 GB, free: 15.1 MB / 0.7917 GB Notification: Performance of SimCode: time 5.81e-07/0.02311, allocations: 0 / 0.8294 GB, free: 15.1 MB / 0.7917 GB Notification: Performance of Templates: time 0.01565/0.03876, allocations: 11.65 MB / 0.8408 GB, free: 3.727 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.048417950049043]