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.001519/0.001519, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001656/0.001656, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.652/1.652, allocations: 177.1 MB / 203.9 MB, free: 5.605 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 2.871/2.871, allocations: 377.8 MB / 0.6232 GB, free: 8.512 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 1.463e-06/1.463e-06, allocations: 0 / 0.8108 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.025e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003573/0.003603, allocations: 1.966 MB / 0.8127 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002724/0.006326, allocations: 1.307 MB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.425e-05/0.006411, allocations: 4 kB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007084/0.007119, allocations: 240.9 kB / 0.8142 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.008192, allocations: 451.7 kB / 0.8147 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 7.084e-06/0.0082, allocations: 0 / 0.8147 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004871/0.008687, allocations: 410.3 kB / 0.8151 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.619e-05/0.008743, allocations: 13.72 kB / 0.8151 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.008988, allocations: 187.4 kB / 0.8153 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.009273, allocations: 187.9 kB / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.009314, allocations: 20 kB / 0.8155 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005611/0.009875, allocations: 288 kB / 0.8157 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004285/0.0103, allocations: 380.1 kB / 0.8161 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002803/0.01058, allocations: 195.4 kB / 0.8163 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.01205, allocations: 0.8565 MB / 0.8171 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.01206, allocations: 4.781 kB / 0.8171 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.162e-06/0.01206, allocations: 0 / 0.8171 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.01206, allocations: 0.5312 kB / 0.8171 GB, free: 11.6 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.001406/0.01347, allocations: 0.8775 MB / 0.818 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.01351, allocations: 8.031 kB / 0.818 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007322/0.01424, allocations: 149.5 kB / 0.8181 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.01543, allocations: 0.8583 MB / 0.819 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.01545, allocations: 12.38 kB / 0.819 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.01549, allocations: 12.91 kB / 0.819 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.01649, allocations: 0.633 MB / 0.8196 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.0165, allocations: 4.188 kB / 0.8196 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.01653, allocations: 5.219 kB / 0.8196 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.01654, allocations: 7.938 kB / 0.8196 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.01813, allocations: 1.107 MB / 0.8207 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002905/0.02104, allocations: 1.899 MB / 0.8226 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008349/0.02187, allocations: 345.2 kB / 0.8229 GB, free: 5.598 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004264/0.0223, allocations: 230.4 kB / 0.8231 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.403e-05/0.02236, allocations: 27.98 kB / 0.8231 GB, free: 5.348 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.0224, allocations: 34.5 kB / 0.8232 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 1.222e-06/0.0224, allocations: 0 / 0.8232 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.001708/0.0241, allocations: 0.6971 MB / 0.8239 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.02416, allocations: 60.61 kB / 0.8239 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/0.02707, allocations: 2.063 MB / 0.8259 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.02711, allocations: 29.7 kB / 0.826 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/0.02745, allocations: 333.3 kB / 0.8263 GB, free: 2.098 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.638e-05/0.02753, allocations: 67.44 kB / 0.8263 GB, free: 2.031 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.02766, allocations: 57.69 kB / 0.8264 GB, free: 1.969 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.02786, allocations: 314.6 kB / 0.8267 GB, free: 1.656 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007691/0.02863, allocations: 0.5333 MB / 0.8272 GB, free: 1.125 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007954/0.02942, allocations: 0.5522 MB / 0.8277 GB, free: 0.5664 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.03061, allocations: 0.7636 MB / 0.8285 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.03061, allocations: 0 / 0.8285 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001821/0.03243, allocations: 1.228 MB / 0.8297 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.03245, allocations: 4 kB / 0.8297 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.03246, allocations: 1.125 kB / 0.8297 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/0.03249, allocations: 4 kB / 0.8297 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.03285, allocations: 67.83 kB / 0.8298 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.03285, allocations: 1.125 kB / 0.8298 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.03321, allocations: 39.77 kB / 0.8298 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.03324, allocations: 13.05 kB / 0.8298 GB, free: 14.44 MB / 0.7917 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.0003586/0.0336, allocations: 269.7 kB / 0.8301 GB, free: 14.17 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.03373, allocations: 80.69 kB / 0.8302 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.03508, allocations: 0.5381 MB / 0.8307 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.03509, allocations: 4 kB / 0.8307 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.0351, allocations: 4.438 kB / 0.8307 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.0351, allocations: 3.984 kB / 0.8307 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003673/0.03878, allocations: 2.452 MB / 0.8331 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.03879, allocations: 4 kB / 0.8331 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.03906, allocations: 48.53 kB / 0.8331 GB, free: 10.94 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.03907, allocations: 8 kB / 0.8331 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.0391, allocations: 15.98 kB / 0.8332 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.3e-05/0.03912, allocations: 11.94 kB / 0.8332 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.03913, allocations: 7.938 kB / 0.8332 GB, free: 10.9 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.04027, allocations: 0.6464 MB / 0.8338 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.04043, allocations: 87.56 kB / 0.8339 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.604e-05/0.04052, allocations: 15.98 kB / 0.8339 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.04085, allocations: 19.92 kB / 0.8339 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.04091, allocations: 27.84 kB / 0.834 GB, free: 10.03 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.04094, allocations: 16 kB / 0.834 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002002/0.04294, allocations: 1.581 MB / 0.8355 GB, free: 8.438 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9e-08/0.04294, allocations: 0 / 0.8355 GB, free: 8.438 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006665/0.04361, allocations: 171.9 kB / 0.8357 GB, free: 8.27 MB / 0.7917 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.000424/0.04403, allocations: 187 kB / 0.8359 GB, free: 8.078 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00129/0.04532, allocations: 0.7612 MB / 0.8366 GB, free: 7.316 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.04533, allocations: 4 kB / 0.8366 GB, free: 7.312 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000427/0.04576, allocations: 220.3 kB / 0.8368 GB, free: 7.098 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008942/0.04665, allocations: 187.4 kB / 0.837 GB, free: 6.918 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.04968, allocations: 1.617 MB / 0.8386 GB, free: 5.207 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/0.05021, allocations: 410.6 kB / 0.839 GB, free: 4.781 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002484/0.05046, allocations: 88.39 kB / 0.839 GB, free: 4.695 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.0506, allocations: 40.48 kB / 0.8391 GB, free: 4.652 MB / 0.7917 GB Notification: Performance of SimCode: time 5.41e-07/0.0506, allocations: 3.938 kB / 0.8391 GB, free: 4.648 MB / 0.7917 GB Notification: Performance of Templates: time 0.02175/0.07235, allocations: 10.58 MB / 0.8494 GB, free: 10.32 MB / 0.8073 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 400] 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: 8.610086199012585]