Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_latest_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.004597/0.004597, allocations: 98.55 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.001218/0.001218, allocations: 201.9 kB / 16.68 MB, free: 5.965 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.373/1.373, 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 12.0.0-master/package.mo): time 2.823/2.823, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 71.89 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2771, allocations: 162.2 MB / 1.241 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.5239/0.801, allocations: 35.93 MB / 1.277 GB, free: 10.11 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.8124, allocations: 8.031 MB / 1.284 GB, free: 4.41 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008121/0.8133, allocations: 35.69 kB / 1.284 GB, free: 4.395 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.8144, allocations: 426.4 kB / 1.285 GB, free: 4.141 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003205/0.8176, allocations: 1.382 MB / 1.286 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.8203, allocations: 1.12 MB / 1.287 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002508/0.8228, allocations: 2.123 MB / 1.289 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.8239, allocations: 0.7168 MB / 1.29 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.8259, allocations: 0.9315 MB / 1.291 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008417/0.8267, allocations: 0.605 MB / 1.292 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.8269, allocations: 75.94 kB / 1.292 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.8286, allocations: 0.838 MB / 1.292 GB, free: 384 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.8288, allocations: 213.2 kB / 1.293 GB, free: 248 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005155/0.8293, allocations: 470.1 kB / 1.293 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00211/0.8314, allocations: 1.546 MB / 1.295 GB, free: 15.4 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.8315, allocations: 3.938 kB / 1.295 GB, free: 15.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8315, allocations: 0 / 1.295 GB, free: 15.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.8315, allocations: 5.281 kB / 1.295 GB, free: 15.39 MB / 1.029 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.001991/0.8335, allocations: 1.242 MB / 1.296 GB, free: 14.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.8335, allocations: 9.875 kB / 1.296 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.8337, allocations: 101.7 kB / 1.296 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/0.836, allocations: 301 kB / 1.296 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.8373, allocations: 0.7826 MB / 1.297 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.8374, allocations: 45.31 kB / 1.297 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-05/0.8375, allocations: 59.03 kB / 1.297 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.8393, allocations: 0.7936 MB / 1.298 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.8393, allocations: 5.312 kB / 1.298 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.356e-05/0.8394, allocations: 23.12 kB / 1.298 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/0.8394, allocations: 22.81 kB / 1.298 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/0.8415, allocations: 0.6108 MB / 1.298 GB, free: 13.21 MB / 1.029 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.00507/0.8465, allocations: 4.05 MB / 1.302 GB, free: 9.949 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.8484, allocations: 452.4 kB / 1.303 GB, free: 9.805 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008447/0.8493, allocations: 205.5 kB / 1.303 GB, free: 9.742 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006871/0.85, allocations: 0.5169 MB / 1.304 GB, free: 9.176 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.85, allocations: 40.78 kB / 1.304 GB, free: 9.133 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 1.893e-06/0.85, allocations: 0 / 1.304 GB, free: 9.133 MB / 1.029 GB Notification: Performance of matching and sorting (n=26): time 0.00307/0.8531, allocations: 0.7825 MB / 1.304 GB, free: 8.809 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.8532, allocations: 106.5 kB / 1.304 GB, free: 8.684 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007507/0.8539, allocations: 0.5899 MB / 1.305 GB, free: 8.406 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.854, allocations: 32.8 kB / 1.305 GB, free: 8.371 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000332/0.8543, allocations: 400.3 kB / 1.305 GB, free: 8.055 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.908e-05/0.8544, allocations: 95.7 kB / 1.306 GB, free: 7.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.8546, allocations: 107.8 kB / 1.306 GB, free: 7.926 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.8548, allocations: 369.9 kB / 1.306 GB, free: 7.586 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008521/0.8557, allocations: 200.3 kB / 1.306 GB, free: 7.531 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009823/0.8567, allocations: 358.4 kB / 1.307 GB, free: 7.281 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.8585, allocations: 0.5234 MB / 1.307 GB, free: 6.988 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.8585, allocations: 5.562 kB / 1.307 GB, free: 6.984 MB / 1.029 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002129/0.8606, allocations: 0.6524 MB / 1.308 GB, free: 6.742 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.8607, allocations: 9.828 kB / 1.308 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.8607, allocations: 8.844 kB / 1.308 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002366/0.8609, allocations: 67.88 kB / 1.308 GB, free: 6.711 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007126/0.8616, allocations: 129.7 kB / 1.308 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005407/0.8622, allocations: 0.6236 MB / 1.309 GB, free: 6.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007479/0.863, allocations: 83.64 kB / 1.309 GB, free: 6.098 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.863, allocations: 22.33 kB / 1.309 GB, free: 6.098 MB / 1.029 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.0003095/0.8633, allocations: 228.9 kB / 1.309 GB, free: 5.914 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.8635, allocations: 66.06 kB / 1.309 GB, free: 5.879 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.8657, allocations: 0.6209 MB / 1.31 GB, free: 5.645 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.8657, allocations: 4.672 kB / 1.31 GB, free: 5.645 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.8657, allocations: 0 / 1.31 GB, free: 5.645 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00194/0.8676, allocations: 0.7038 MB / 1.31 GB, free: 5.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002873/0.8705, allocations: 1.3 MB / 1.311 GB, free: 4.492 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.8705, allocations: 5.859 kB / 1.311 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005609/0.8711, allocations: 77.16 kB / 1.312 GB, free: 4.484 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001806/0.8713, allocations: 60.33 kB / 1.312 GB, free: 4.461 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.8713, allocations: 18.03 kB / 1.312 GB, free: 4.453 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004837/0.8718, allocations: 0.6091 MB / 1.312 GB, free: 3.895 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.8719, allocations: 1.688 kB / 1.312 GB, free: 3.895 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002878/0.8747, allocations: 0.8856 MB / 1.313 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/0.875, allocations: 209 kB / 1.313 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.8752, allocations: 8.672 kB / 1.313 GB, free: 3.309 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007822/0.8759, allocations: 54.61 kB / 1.313 GB, free: 3.301 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.876, allocations: 23.3 kB / 1.313 GB, free: 3.293 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/0.8761, allocations: 23.61 kB / 1.313 GB, free: 3.293 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006327/0.8767, allocations: 487.4 kB / 1.314 GB, free: 3.078 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8767, allocations: 4 kB / 1.314 GB, free: 3.074 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008415/0.8776, allocations: 276.5 kB / 1.314 GB, free: 3.012 MB / 1.029 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.003778/0.8813, allocations: 1.643 MB / 1.316 GB, free: 1.992 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001954/0.8833, allocations: 493.6 kB / 1.316 GB, free: 1.867 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.8833, allocations: 4.969 kB / 1.316 GB, free: 1.863 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009357/0.8843, allocations: 242.6 kB / 1.316 GB, free: 1.797 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.8861, allocations: 392.7 kB / 1.317 GB, free: 1.672 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.897, allocations: 5.784 MB / 1.322 GB, free: 14.51 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/0.8976, allocations: 0.9191 MB / 1.323 GB, free: 13.8 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0006231/0.8983, allocations: 158.9 kB / 1.324 GB, free: 13.74 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/0.8987, allocations: 273.2 kB / 1.324 GB, free: 13.55 MB / 1.045 GB Notification: Performance of SimCode: time 4.31e-07/0.8987, allocations: 0 / 1.324 GB, free: 13.55 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05374/0.9524, allocations: 22.39 MB / 1.346 GB, free: 5.098 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/13, allocations: 15.48 kB / 1.346 GB, free: 5.086 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches