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.003959/0.003959, allocations: 98.3 kB / 15.73 MB, free: 6.047 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.001026/0.001026, allocations: 198.7 kB / 16.68 MB, free: 5.969 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.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.254/2.254, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 62.62 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2328, allocations: 140.4 MB / 1.087 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03264/0.2655, allocations: 35.87 MB / 1.123 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009987/0.2755, allocations: 8.022 MB / 1.13 GB, free: 5.887 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007434/0.2763, allocations: 35.81 kB / 1.13 GB, free: 5.852 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009692/0.2773, allocations: 433.3 kB / 1.131 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002985/0.2803, allocations: 1.448 MB / 1.132 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.2827, allocations: 1.126 MB / 1.133 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00213/0.2849, allocations: 2.154 MB / 1.135 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008076/0.2857, allocations: 0.7137 MB / 1.136 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.2873, allocations: 0.9194 MB / 1.137 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006795/0.288, allocations: 0.6068 MB / 1.138 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.971e-05/0.2881, allocations: 76 kB / 1.138 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.2895, allocations: 0.8464 MB / 1.138 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.2898, allocations: 207.3 kB / 1.139 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004251/0.2902, allocations: 473.8 kB / 1.139 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.292, allocations: 1.534 MB / 1.141 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.292, allocations: 0 / 1.141 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.142e-06/0.292, allocations: 0 / 1.141 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.292, allocations: 4 kB / 1.141 GB, free: 11.32 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.00175/0.2938, allocations: 1.252 MB / 1.142 GB, free: 10 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.2938, allocations: 16.02 kB / 1.142 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.2939, allocations: 98.7 kB / 1.142 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/0.2963, allocations: 303.5 kB / 1.142 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.2975, allocations: 0.7651 MB / 1.143 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.2976, allocations: 41.31 kB / 1.143 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-05/0.2977, allocations: 63.98 kB / 1.143 GB, free: 8.68 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.2994, allocations: 0.7953 MB / 1.144 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.2994, allocations: 0 / 1.144 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.981e-05/0.2995, allocations: 24 kB / 1.144 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.2995, allocations: 23.94 kB / 1.144 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.3015, allocations: 0.6139 MB / 1.145 GB, free: 7.164 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.004435/0.3059, allocations: 3.943 MB / 1.148 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.3078, allocations: 458.6 kB / 1.149 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008014/0.3086, allocations: 204.7 kB / 1.149 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005978/0.3092, allocations: 0.5181 MB / 1.15 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.3092, allocations: 46.5 kB / 1.15 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.3092, allocations: 0 / 1.15 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.002942/0.3122, allocations: 0.7727 MB / 1.15 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.3122, allocations: 110.8 kB / 1.15 GB, free: 0.6562 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006402/0.3129, allocations: 0.586 MB / 1.151 GB, free: 60 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.313, allocations: 33.7 kB / 1.151 GB, free: 20 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.3132, allocations: 400.4 kB / 1.151 GB, free: 15.62 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.788e-05/0.3133, allocations: 95.22 kB / 1.152 GB, free: 15.53 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.3135, allocations: 110 kB / 1.152 GB, free: 15.41 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3136, allocations: 366.8 kB / 1.152 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008201/0.3145, allocations: 200.7 kB / 1.152 GB, free: 14.85 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009333/0.3154, allocations: 351.3 kB / 1.152 GB, free: 14.44 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.3171, allocations: 0.525 MB / 1.153 GB, free: 13.86 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3171, allocations: 0 / 1.153 GB, free: 13.86 MB / 0.92 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002031/0.3191, allocations: 0.6626 MB / 1.154 GB, free: 13.19 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3192, allocations: 4 kB / 1.154 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.3192, allocations: 8.344 kB / 1.154 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002313/0.3194, allocations: 72.75 kB / 1.154 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007182/0.3202, allocations: 127.8 kB / 1.154 GB, free: 12.98 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004439/0.3206, allocations: 0.6148 MB / 1.154 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007143/0.3213, allocations: 87.56 kB / 1.155 GB, free: 12.25 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.3214, allocations: 23.98 kB / 1.155 GB, free: 12.23 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.0002779/0.3217, allocations: 230.9 kB / 1.155 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.3218, allocations: 63.67 kB / 1.155 GB, free: 11.93 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.3239, allocations: 0.6198 MB / 1.155 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.3239, allocations: 4 kB / 1.155 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3239, allocations: 0 / 1.155 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001798/0.3257, allocations: 0.7062 MB / 1.156 GB, free: 10.52 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002599/0.3283, allocations: 1.301 MB / 1.157 GB, free: 9.141 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.3284, allocations: 7.938 kB / 1.157 GB, free: 9.133 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005453/0.3289, allocations: 71.89 kB / 1.157 GB, free: 9.062 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001731/0.3291, allocations: 72.98 kB / 1.158 GB, free: 8.988 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.3291, allocations: 15.92 kB / 1.158 GB, free: 8.973 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003985/0.3295, allocations: 0.611 MB / 1.158 GB, free: 8.336 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3295, allocations: 0 / 1.158 GB, free: 8.336 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/0.3322, allocations: 0.8946 MB / 1.159 GB, free: 7.406 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/0.3325, allocations: 208.5 kB / 1.159 GB, free: 7.184 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.3326, allocations: 8 kB / 1.159 GB, free: 7.176 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007645/0.3334, allocations: 52 kB / 1.159 GB, free: 7.125 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.3335, allocations: 27.84 kB / 1.159 GB, free: 7.098 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/0.3335, allocations: 27.95 kB / 1.159 GB, free: 7.07 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005447/0.3341, allocations: 483 kB / 1.16 GB, free: 6.605 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3341, allocations: 0 / 1.16 GB, free: 6.605 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007721/0.3348, allocations: 271.4 kB / 1.16 GB, free: 6.34 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.003445/0.3383, allocations: 1.627 MB / 1.162 GB, free: 4.676 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.3402, allocations: 0.4894 MB / 1.162 GB, free: 4.188 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3402, allocations: 7.938 kB / 1.162 GB, free: 4.18 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008751/0.3411, allocations: 232.2 kB / 1.162 GB, free: 3.953 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.3427, allocations: 394 kB / 1.163 GB, free: 3.574 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.3528, allocations: 5.779 MB / 1.168 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.3533, allocations: 0.9257 MB / 1.169 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005531/0.3538, allocations: 149.8 kB / 1.169 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/0.3542, allocations: 279.2 kB / 1.17 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of SimCode: time 1.813e-06/0.3542, allocations: 0 / 1.17 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04202/0.3962, allocations: 22.4 MB / 1.192 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.35, allocations: 17.86 kB / 1.192 GB, free: 6.102 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.csv","/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