Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005883/0.005883, allocations: 99.3 kB / 15.73 MB, free: 6.043 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.001175/0.001175, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.22/2.22, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.69 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2717, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03583/0.3076, allocations: 35.88 MB / 1.123 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.3186, allocations: 8.022 MB / 1.13 GB, free: 5.926 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.3199, allocations: 31.81 kB / 1.13 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.3214, allocations: 433.2 kB / 1.131 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004188/0.3256, allocations: 1.393 MB / 1.132 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003203/0.3288, allocations: 1.118 MB / 1.133 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003103/0.3319, allocations: 2.127 MB / 1.135 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.3334, allocations: 0.724 MB / 1.136 GB, free: 100 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.336, allocations: 0.9056 MB / 1.137 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.3373, allocations: 0.6107 MB / 1.138 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002895/0.3376, allocations: 76 kB / 1.138 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.3398, allocations: 0.8464 MB / 1.138 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003629/0.3402, allocations: 211.3 kB / 1.139 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000908/0.3411, allocations: 485.7 kB / 1.139 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002959/0.3441, allocations: 1.516 MB / 1.141 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3441, allocations: 4 kB / 1.141 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3441, allocations: 0 / 1.141 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.775e-05/0.3442, allocations: 0 / 1.141 GB, free: 11.45 MB / 0.9044 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.002555/0.3467, allocations: 1.229 MB / 1.142 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3468, allocations: 12.03 kB / 1.142 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.3469, allocations: 98.7 kB / 1.142 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/0.3491, allocations: 299 kB / 1.142 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.3505, allocations: 0.7568 MB / 1.143 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.3505, allocations: 45.31 kB / 1.143 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.274e-05/0.3506, allocations: 60 kB / 1.143 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.3523, allocations: 0.7914 MB / 1.144 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.3524, allocations: 4 kB / 1.144 GB, free: 8 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.489e-05/0.3524, allocations: 27.98 kB / 1.144 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/0.3525, allocations: 27.86 kB / 1.144 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.3544, allocations: 0.6061 MB / 1.144 GB, free: 7.336 MB / 0.9044 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.0046/0.359, allocations: 3.931 MB / 1.148 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.3607, allocations: 456.4 kB / 1.149 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007604/0.3615, allocations: 208.7 kB / 1.149 GB, free: 2.457 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005925/0.3621, allocations: 0.5298 MB / 1.149 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.3622, allocations: 38.5 kB / 1.149 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 2.174e-06/0.3622, allocations: 0 / 1.149 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.002918/0.3651, allocations: 0.7735 MB / 1.15 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.3652, allocations: 102.8 kB / 1.15 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007306/0.3659, allocations: 0.6015 MB / 1.151 GB, free: 236 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.366, allocations: 29.7 kB / 1.151 GB, free: 200 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.3663, allocations: 387.7 kB / 1.151 GB, free: 15.8 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.58e-05/0.3664, allocations: 98.56 kB / 1.151 GB, free: 15.71 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.3665, allocations: 102 kB / 1.151 GB, free: 15.61 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3667, allocations: 366.8 kB / 1.152 GB, free: 15.24 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007986/0.3675, allocations: 200.7 kB / 1.152 GB, free: 15.04 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008892/0.3684, allocations: 359.3 kB / 1.152 GB, free: 14.62 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.37, allocations: 0.5211 MB / 1.153 GB, free: 14.05 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3701, allocations: 4 kB / 1.153 GB, free: 14.05 MB / 0.92 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00204/0.3721, allocations: 0.6546 MB / 1.153 GB, free: 13.38 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3721, allocations: 8 kB / 1.154 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.3722, allocations: 4 kB / 1.154 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002651/0.3724, allocations: 60.77 kB / 1.154 GB, free: 13.31 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006779/0.3731, allocations: 140 kB / 1.154 GB, free: 13.17 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004626/0.3736, allocations: 0.6226 MB / 1.154 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/0.3743, allocations: 79.48 kB / 1.154 GB, free: 12.45 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/0.3744, allocations: 32.03 kB / 1.154 GB, free: 12.41 MB / 0.92 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.00033/0.3747, allocations: 221.6 kB / 1.155 GB, free: 12.19 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.3749, allocations: 63.25 kB / 1.155 GB, free: 12.12 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.377, allocations: 0.6197 MB / 1.155 GB, free: 11.49 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.377, allocations: 0 / 1.155 GB, free: 11.49 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.377, allocations: 0 / 1.155 GB, free: 11.49 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001741/0.3787, allocations: 0.7023 MB / 1.156 GB, free: 10.71 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.3816, allocations: 1.289 MB / 1.157 GB, free: 9.352 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.3816, allocations: 7.938 kB / 1.157 GB, free: 9.344 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/0.3822, allocations: 83.98 kB / 1.157 GB, free: 9.262 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/0.3824, allocations: 60.77 kB / 1.157 GB, free: 9.199 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.3824, allocations: 15.97 kB / 1.157 GB, free: 9.184 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004444/0.3829, allocations: 0.6147 MB / 1.158 GB, free: 8.543 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3829, allocations: 4.062 kB / 1.158 GB, free: 8.539 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.3855, allocations: 0.8942 MB / 1.159 GB, free: 7.609 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003828/0.3859, allocations: 204.2 kB / 1.159 GB, free: 7.391 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.3861, allocations: 11.94 kB / 1.159 GB, free: 7.379 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007706/0.3869, allocations: 52.06 kB / 1.159 GB, free: 7.328 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.3869, allocations: 19.92 kB / 1.159 GB, free: 7.309 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.083e-05/0.387, allocations: 36.02 kB / 1.159 GB, free: 7.273 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006604/0.3877, allocations: 483 kB / 1.16 GB, free: 6.809 MB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/0.3877, allocations: 0 / 1.16 GB, free: 6.809 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009083/0.3886, allocations: 271.5 kB / 1.16 GB, free: 6.543 MB / 0.92 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.003625/0.3922, allocations: 1.637 MB / 1.162 GB, free: 4.875 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001901/0.3941, allocations: 0.5012 MB / 1.162 GB, free: 4.375 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3942, allocations: 0 / 1.162 GB, free: 4.375 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008692/0.395, allocations: 228.2 kB / 1.162 GB, free: 4.152 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.3971, allocations: 387.4 kB / 1.163 GB, free: 3.781 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.4081, allocations: 5.746 MB / 1.168 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005204/0.4086, allocations: 0.9256 MB / 1.169 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0006751/0.4093, allocations: 157.7 kB / 1.169 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003846/0.4097, allocations: 275.3 kB / 1.17 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/0.4097, allocations: 7.938 kB / 1.17 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04781/0.4575, allocations: 22.73 MB / 1.192 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.88, allocations: 11.86 kB / 1.192 GB, free: 6.016 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches