Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.HeatExchangers.Validation.EvaporatorCondenser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sou.T|senTem.T|ref.T|eva.eps|m_flow.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser") translateModel(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sou.T|senTem.T|ref.T|eva.eps|m_flow.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005413/0.005413, allocations: 96.31 kB / 15.73 MB, free: 6.035 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.00117/0.00117, allocations: 195.6 kB / 16.67 MB, free: 5.961 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.84 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3256, allocations: 151.6 MB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03675/0.3624, allocations: 35.89 MB / 1.202 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01167/0.3741, allocations: 8.018 MB / 1.209 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.3753, allocations: 35.81 kB / 1.21 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.3766, allocations: 433.2 kB / 1.21 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003639/0.3802, allocations: 1.392 MB / 1.211 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.3831, allocations: 1.117 MB / 1.212 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002785/0.3859, allocations: 2.131 MB / 1.214 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000976/0.3869, allocations: 0.7173 MB / 1.215 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.3889, allocations: 0.9029 MB / 1.216 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008637/0.3898, allocations: 0.6145 MB / 1.217 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.3899, allocations: 76 kB / 1.217 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.3918, allocations: 0.8464 MB / 1.218 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.3921, allocations: 211.3 kB / 1.218 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004757/0.3926, allocations: 469.9 kB / 1.218 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002259/0.3948, allocations: 1.534 MB / 1.22 GB, free: 264 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3948, allocations: 0 / 1.22 GB, free: 264 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3949, allocations: 8 kB / 1.22 GB, free: 256 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.3949, allocations: 0 / 1.22 GB, free: 256 kB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001876/0.3968, allocations: 1.243 MB / 1.221 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.3968, allocations: 16.02 kB / 1.221 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002238/0.399, allocations: 300.1 kB / 1.221 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.4003, allocations: 0.7654 MB / 1.222 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.17e-05/0.4004, allocations: 45.31 kB / 1.222 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-05/0.4005, allocations: 63.94 kB / 1.222 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.4022, allocations: 0.7875 MB / 1.223 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.4023, allocations: 7.938 kB / 1.223 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-05/0.4023, allocations: 24 kB / 1.223 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.4024, allocations: 19.98 kB / 1.223 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.4043, allocations: 0.6139 MB / 1.223 GB, free: 12.21 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004935/0.4093, allocations: 3.943 MB / 1.227 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.411, allocations: 454.8 kB / 1.228 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007669/0.4118, allocations: 211.7 kB / 1.228 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007671/0.4126, allocations: 0.522 MB / 1.228 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.4126, allocations: 38.56 kB / 1.229 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=26): time 2.955e-06/0.4127, allocations: 0 / 1.229 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26): time 0.003048/0.4157, allocations: 0.7721 MB / 1.229 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.4158, allocations: 106.8 kB / 1.229 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007356/0.4165, allocations: 0.5861 MB / 1.23 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.902e-05/0.4166, allocations: 37.64 kB / 1.23 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.4169, allocations: 392.5 kB / 1.23 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.081e-05/0.417, allocations: 103.2 kB / 1.23 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.4172, allocations: 106 kB / 1.231 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.4174, allocations: 370.7 kB / 1.231 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008047/0.4182, allocations: 204.7 kB / 1.231 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008834/0.4191, allocations: 351.4 kB / 1.231 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.4207, allocations: 0.5288 MB / 1.232 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.4207, allocations: 0 / 1.232 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002066/0.4228, allocations: 0.6549 MB / 1.233 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.4228, allocations: 4.406 kB / 1.233 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.4229, allocations: 8 kB / 1.233 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002698/0.4231, allocations: 64.77 kB / 1.233 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006884/0.4238, allocations: 135.7 kB / 1.233 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004971/0.4244, allocations: 0.6264 MB / 1.233 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007493/0.4251, allocations: 79.62 kB / 1.233 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.4252, allocations: 27.97 kB / 1.234 GB, free: 1.281 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000361/0.4255, allocations: 217.7 kB / 1.234 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.4257, allocations: 75.52 kB / 1.234 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/0.4277, allocations: 0.6118 MB / 1.234 GB, free: 368 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.4277, allocations: 4 kB / 1.234 GB, free: 364 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4278, allocations: 0 / 1.234 GB, free: 364 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001771/0.4295, allocations: 0.7063 MB / 1.235 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/0.4322, allocations: 1.288 MB / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.4322, allocations: 3.984 kB / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005183/0.4328, allocations: 79.78 kB / 1.236 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/0.433, allocations: 64.97 kB / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.433, allocations: 19.98 kB / 1.236 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004252/0.4335, allocations: 0.6187 MB / 1.237 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4335, allocations: 0 / 1.237 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.4361, allocations: 0.8966 MB / 1.238 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/0.4365, allocations: 212.5 kB / 1.238 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.4366, allocations: 11.95 kB / 1.238 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007516/0.4373, allocations: 52 kB / 1.238 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.4374, allocations: 23.91 kB / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.125e-05/0.4375, allocations: 23.97 kB / 1.238 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006176/0.4381, allocations: 487 kB / 1.239 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4381, allocations: 0 / 1.239 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008379/0.4389, allocations: 275.4 kB / 1.239 GB, free: 11.39 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senTem.T) * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006577/0.4396, allocations: 312.2 kB / 1.239 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001924/0.4415, allocations: 0.5029 MB / 1.24 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4416, allocations: 0 / 1.24 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009132/0.4425, allocations: 238.7 kB / 1.24 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.4442, allocations: 380.8 kB / 1.24 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.4468, allocations: 1.284 MB / 1.242 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.4472, allocations: 0.9178 MB / 1.243 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005942/0.4478, allocations: 161.7 kB / 1.243 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.448, allocations: 71.39 kB / 1.243 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.448, allocations: 0 / 1.243 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of Templates: time 0.607/1.055, allocations: 16.28 MB / 1.259 GB, free: 81.14 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches