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.002499/0.002499, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002871/0.002871, allocations: 157.3 kB / 23.55 MB, free: 0.8828 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.645/1.645, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.115/3.115, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] 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 2.003e-06/2.003e-06, allocations: 0 / 0.8108 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.272e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003842/0.003875, allocations: 2.065 MB / 0.8128 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002746/0.006621, allocations: 1.374 MB / 0.8142 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.461e-05/0.006715, allocations: 0 / 0.8142 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007196/0.007435, allocations: 235 kB / 0.8144 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.008541, allocations: 453.2 kB / 0.8148 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 7.714e-06/0.008549, allocations: 0 / 0.8148 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005153/0.009064, allocations: 402.3 kB / 0.8152 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.745e-05/0.009122, allocations: 12.59 kB / 0.8152 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.009373, allocations: 192.1 kB / 0.8154 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003058/0.009679, allocations: 188.2 kB / 0.8156 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/0.009726, allocations: 24 kB / 0.8156 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005807/0.01031, allocations: 287.5 kB / 0.8159 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0005627/0.01087, allocations: 380.3 kB / 0.8162 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002707/0.01114, allocations: 203.4 kB / 0.8164 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.01227, allocations: 0.8527 MB / 0.8173 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.01228, allocations: 5.031 kB / 0.8173 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.603e-06/0.01228, allocations: 0 / 0.8173 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.01229, allocations: 0 / 0.8173 GB, free: 10.34 MB / 0.7292 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.00157/0.01386, allocations: 1.027 MB / 0.8183 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.0139, allocations: 12.03 kB / 0.8183 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006263/0.01452, allocations: 135.8 kB / 0.8184 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008094/0.01533, allocations: 0.4932 MB / 0.8189 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.01535, allocations: 8.375 kB / 0.8189 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.01539, allocations: 20.38 kB / 0.8189 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004867/0.01588, allocations: 187.6 kB / 0.8191 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.01589, allocations: 0.7188 kB / 0.8191 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.01592, allocations: 14.94 kB / 0.8191 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.01593, allocations: 7.938 kB / 0.8191 GB, free: 8.375 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006302/0.01656, allocations: 255.7 kB / 0.8194 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.01855, allocations: 1.117 MB / 0.8205 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006625/0.01922, allocations: 227.6 kB / 0.8207 GB, free: 6.738 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.01947, allocations: 96.2 kB / 0.8208 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-05/0.01954, allocations: 25.95 kB / 0.8208 GB, free: 6.617 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.01958, allocations: 37.39 kB / 0.8208 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=19): time 1.122e-06/0.01958, allocations: 0 / 0.8208 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.0009356/0.02052, allocations: 341 kB / 0.8212 GB, free: 6.234 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.02057, allocations: 59.34 kB / 0.8212 GB, free: 6.164 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.022, allocations: 1.063 MB / 0.8222 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.02204, allocations: 29.7 kB / 0.8223 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004757/0.02251, allocations: 431.6 kB / 0.8227 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.704e-05/0.0226, allocations: 67.44 kB / 0.8228 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.02275, allocations: 67.03 kB / 0.8228 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0004429/0.02319, allocations: 0.4926 MB / 0.8233 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.02347, allocations: 95.95 kB / 0.8234 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.02378, allocations: 139.3 kB / 0.8235 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005362/0.02431, allocations: 234.5 kB / 0.8237 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.02432, allocations: 0 / 0.8237 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007986/0.02512, allocations: 366.7 kB / 0.8241 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.02514, allocations: 6.344 kB / 0.8241 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.02514, allocations: 7.938 kB / 0.8241 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.02516, allocations: 1.125 kB / 0.8241 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.0255, allocations: 67.89 kB / 0.8242 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.02551, allocations: 1.031 kB / 0.8242 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.02583, allocations: 31.77 kB / 0.8242 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.02585, allocations: 9.125 kB / 0.8242 GB, free: 3.039 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.0001864/0.02604, allocations: 172.5 kB / 0.8244 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.02617, allocations: 76.31 kB / 0.8245 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007274/0.0269, allocations: 294.2 kB / 0.8247 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.0269, allocations: 4 kB / 0.8247 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.02691, allocations: 7.875 kB / 0.8247 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.02691, allocations: 5.734 kB / 0.8247 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.02918, allocations: 1.347 MB / 0.8261 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.02919, allocations: 8 kB / 0.8261 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.02944, allocations: 47.91 kB / 0.8261 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.02945, allocations: 4 kB / 0.8261 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.02948, allocations: 8 kB / 0.8261 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.254e-05/0.02949, allocations: 15.92 kB / 0.8261 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.0295, allocations: 7.938 kB / 0.8262 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008383/0.03034, allocations: 481.2 kB / 0.8266 GB, free: 356 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.03051, allocations: 75.56 kB / 0.8267 GB, free: 280 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.296e-05/0.03061, allocations: 12 kB / 0.8267 GB, free: 268 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.0309, allocations: 15.92 kB / 0.8267 GB, free: 252 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.03096, allocations: 31.84 kB / 0.8267 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.03098, allocations: 16 kB / 0.8268 GB, free: 204 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009411/0.03192, allocations: 0.7099 MB / 0.8274 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.03192, allocations: 4 kB / 0.8275 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000594/0.03252, allocations: 171.9 kB / 0.8276 GB, free: 15.32 MB / 0.7448 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.0003592/0.03288, allocations: 179 kB / 0.8278 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006573/0.03354, allocations: 243.4 kB / 0.828 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.03354, allocations: 0 / 0.828 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002734/0.03381, allocations: 107.5 kB / 0.8281 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000774/0.03459, allocations: 188 kB / 0.8283 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.03691, allocations: 1.365 MB / 0.8296 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006351/0.03754, allocations: 390.8 kB / 0.83 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002336/0.03778, allocations: 68.39 kB / 0.8301 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.03791, allocations: 44.48 kB / 0.8301 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of SimCode: time 8.61e-07/0.03791, allocations: 0 / 0.8301 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of Templates: time 0.02113/0.05904, allocations: 10.53 MB / 0.8404 GB, free: 2.336 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.063457863987423]