Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 105.7 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.674/2.674, allocations: 482.4 MB / 0.7553 GB, free: 7 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 68 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7179/0.7198, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002939/0.7228, allocations: 2.049 MB / 1.085 GB, free: 192 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002285/0.7251, allocations: 1.37 MB / 1.086 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.7252, allocations: 2.156 kB / 1.086 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007029/0.726, allocations: 250.7 kB / 1.087 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.7271, allocations: 437.8 kB / 1.087 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 9.047e-06/0.7271, allocations: 0 / 1.087 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004672/0.7276, allocations: 393.4 kB / 1.087 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.812e-05/0.7277, allocations: 25.25 kB / 1.087 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.7279, allocations: 146.7 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.7281, allocations: 185.2 kB / 1.088 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.7282, allocations: 22.88 kB / 1.088 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005299/0.7287, allocations: 278.1 kB / 1.088 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003381/0.729, allocations: 364.5 kB / 1.088 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.7294, allocations: 304.5 kB / 1.089 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.7304, allocations: 0.8411 MB / 1.089 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.7304, allocations: 0 / 1.089 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.153e-06/0.7304, allocations: 1.062 kB / 1.089 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.7304, allocations: 0 / 1.089 GB, free: 14.01 MB / 0.8419 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.001335/0.7318, allocations: 0.9388 MB / 1.09 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.7318, allocations: 9.406 kB / 1.09 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006219/0.7325, allocations: 126.3 kB / 1.09 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.7336, allocations: 0.9088 MB / 1.091 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.7336, allocations: 10.62 kB / 1.091 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.7336, allocations: 17.69 kB / 1.091 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009122/0.7345, allocations: 0.6432 MB / 1.092 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.7346, allocations: 0 / 1.092 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.7346, allocations: 5.531 kB / 1.092 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.7346, allocations: 3.344 kB / 1.092 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.7361, allocations: 1.111 MB / 1.093 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002801/0.7389, allocations: 2.044 MB / 1.095 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008061/0.7398, allocations: 352.7 kB / 1.095 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003688/0.7401, allocations: 227.6 kB / 1.096 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.168e-05/0.7402, allocations: 23.44 kB / 1.096 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.7402, allocations: 43.88 kB / 1.096 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=19): time 1.934e-06/0.7403, allocations: 0 / 1.096 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19): time 0.001243/0.7415, allocations: 0.6993 MB / 1.096 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.7416, allocations: 54.38 kB / 1.096 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002758/0.7443, allocations: 2.07 MB / 1.098 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.7444, allocations: 33.7 kB / 1.098 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/0.7448, allocations: 334.6 kB / 1.099 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.754e-05/0.7448, allocations: 59.06 kB / 1.099 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.745, allocations: 62.16 kB / 1.099 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.7451, allocations: 314.6 kB / 1.099 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007176/0.7459, allocations: 0.5286 MB / 1.1 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006593/0.7465, allocations: 0.5623 MB / 1.1 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009977/0.7475, allocations: 0.7652 MB / 1.101 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.7476, allocations: 1.375 kB / 1.101 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001574/0.7491, allocations: 1.211 MB / 1.102 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.7492, allocations: 5 kB / 1.102 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.7492, allocations: 1.781 kB / 1.102 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.7492, allocations: 5.719 kB / 1.102 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.7495, allocations: 61.19 kB / 1.102 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.7495, allocations: 1.781 kB / 1.102 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/0.75, allocations: 40.2 kB / 1.102 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.7501, allocations: 12.84 kB / 1.102 GB, free: 8.719 MB / 0.8419 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.0004059/0.7505, allocations: 276.2 kB / 1.103 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.7506, allocations: 70.97 kB / 1.103 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.7517, allocations: 0.5392 MB / 1.103 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.7517, allocations: 3.125 kB / 1.103 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.7517, allocations: 4 kB / 1.103 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.7517, allocations: 1.125 kB / 1.103 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003709/0.7554, allocations: 2.58 MB / 1.106 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.7554, allocations: 4.375 kB / 1.106 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.7557, allocations: 50.42 kB / 1.106 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/0.7557, allocations: 10.31 kB / 1.106 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.7558, allocations: 12.72 kB / 1.106 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.7558, allocations: 6.438 kB / 1.106 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.7558, allocations: 9.188 kB / 1.106 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.7569, allocations: 0.6572 MB / 1.106 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003018/0.7572, allocations: 161.4 kB / 1.107 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.7574, allocations: 11.17 kB / 1.107 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.7578, allocations: 17.02 kB / 1.107 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.7578, allocations: 26.72 kB / 1.107 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.7579, allocations: 19.55 kB / 1.107 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002106/0.76, allocations: 1.591 MB / 1.108 GB, free: 6.109 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.76, allocations: 0 / 1.108 GB, free: 6.109 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008513/0.7609, allocations: 172.5 kB / 1.108 GB, free: 6.094 MB / 0.8419 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.0004899/0.7614, allocations: 160.1 kB / 1.109 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.7627, allocations: 0.7855 MB / 1.109 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.7627, allocations: 0 / 1.109 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003982/0.7631, allocations: 219.5 kB / 1.11 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.7642, allocations: 182.7 kB / 1.11 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.767, allocations: 1.427 MB / 1.111 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007117/0.7677, allocations: 0.9274 MB / 1.112 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.7679, allocations: 46.78 kB / 1.112 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of SimCode: time 6.51e-07/0.7679, allocations: 0 / 1.112 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of Templates: time 0.01711/0.785, allocations: 8.615 MB / 1.12 GB, free: 1.703 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches