Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009399/0.0009399, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9572/0.9572, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.755/1.755, allocations: 377.8 MB / 0.6221 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.256e-05, allocations: 2.281 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.02654/0.02656, allocations: 32.98 MB / 1.013 GB, free: 1.461 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.008667/0.03523, allocations: 7.452 MB / 1.02 GB, free: 9.984 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.03631, allocations: 51.62 kB / 1.02 GB, free: 9.934 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.000999/0.0373, allocations: 409.2 kB / 1.021 GB, free: 9.531 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.003446/0.04075, allocations: 1.524 MB / 1.022 GB, free: 8.004 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.04303, allocations: 1.169 MB / 1.024 GB, free: 6.844 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.00243/0.04545, allocations: 2.196 MB / 1.026 GB, free: 4.637 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008055/0.04626, allocations: 0.5774 MB / 1.026 GB, free: 4.047 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/0.04821, allocations: 1.266 MB / 1.027 GB, free: 2.777 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006473/0.04885, allocations: 0.5321 MB / 1.028 GB, free: 2.246 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 9.377e-05/0.04895, allocations: 76 kB / 1.028 GB, free: 2.172 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.05035, allocations: 0.772 MB / 1.029 GB, free: 1.398 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.05054, allocations: 219.1 kB / 1.029 GB, free: 1.184 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0009141/0.05145, allocations: 331.2 kB / 1.029 GB, free: 0.8594 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.05336, allocations: 1.64 MB / 1.031 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.05337, allocations: 4 kB / 1.031 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.743e-06/0.05337, allocations: 0 / 1.031 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.05338, allocations: 4 kB / 1.031 GB, free: 15.21 MB / 0.9948 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.001525/0.05491, allocations: 1.167 MB / 1.032 GB, free: 14 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.05495, allocations: 8.031 kB / 1.032 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.482e-05/0.05503, allocations: 98.7 kB / 1.032 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.05618, allocations: 308 kB / 1.032 GB, free: 13.59 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.0572, allocations: 0.7165 MB / 1.033 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.05723, allocations: 45.31 kB / 1.033 GB, free: 12.79 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.959e-05/0.0573, allocations: 55.98 kB / 1.033 GB, free: 12.74 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.05844, allocations: 1.075 MB / 1.034 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.05846, allocations: 4 kB / 1.034 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/0.0585, allocations: 24 kB / 1.034 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.05853, allocations: 23.94 kB / 1.034 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.0596, allocations: 0.6139 MB / 1.035 GB, free: 10.88 MB / 0.9948 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.002935/0.06254, allocations: 3.053 MB / 1.038 GB, free: 7.707 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009433/0.06348, allocations: 437.5 kB / 1.038 GB, free: 7.273 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003871/0.06387, allocations: 192.7 kB / 1.039 GB, free: 7.082 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002543/0.06412, allocations: 75.92 kB / 1.039 GB, free: 7.008 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.06415, allocations: 42.5 kB / 1.039 GB, free: 6.957 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=26): time 2.053e-06/0.06415, allocations: 0 / 1.039 GB, free: 6.957 MB / 0.9948 GB Notification: Performance of matching and sorting (n=26): time 0.001735/0.06588, allocations: 0.6899 MB / 1.039 GB, free: 6.258 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.06593, allocations: 114.8 kB / 1.039 GB, free: 6.121 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005061/0.06644, allocations: 0.6055 MB / 1.04 GB, free: 5.508 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.06648, allocations: 33.7 kB / 1.04 GB, free: 5.469 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.06667, allocations: 388.5 kB / 1.04 GB, free: 5.086 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.207e-05/0.06673, allocations: 99.16 kB / 1.041 GB, free: 4.988 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.06685, allocations: 102.1 kB / 1.041 GB, free: 4.883 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.06695, allocations: 366.8 kB / 1.041 GB, free: 4.516 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004123/0.06737, allocations: 204.8 kB / 1.041 GB, free: 4.312 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005022/0.06787, allocations: 466.7 kB / 1.042 GB, free: 3.766 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000873/0.06874, allocations: 0.526 MB / 1.042 GB, free: 3.188 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.06875, allocations: 8 kB / 1.042 GB, free: 3.18 MB / 0.9948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001366/0.07011, allocations: 0.648 MB / 1.043 GB, free: 2.523 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.07013, allocations: 8 kB / 1.043 GB, free: 2.516 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.07014, allocations: 4 kB / 1.043 GB, free: 2.512 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002022/0.07035, allocations: 56.83 kB / 1.043 GB, free: 2.453 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.07069, allocations: 144 kB / 1.043 GB, free: 2.312 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003897/0.07108, allocations: 0.6225 MB / 1.044 GB, free: 1.664 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004122/0.0715, allocations: 79.61 kB / 1.044 GB, free: 1.586 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/0.07153, allocations: 27.98 kB / 1.044 GB, free: 1.559 MB / 0.9948 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.0002868/0.07182, allocations: 221.8 kB / 1.044 GB, free: 1.332 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.783e-05/0.07192, allocations: 71.52 kB / 1.044 GB, free: 1.262 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.07314, allocations: 0.6205 MB / 1.045 GB, free: 0.6172 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.07316, allocations: 7.984 kB / 1.045 GB, free: 0.6094 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.07316, allocations: 0 / 1.045 GB, free: 0.6094 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4589/0.5321, allocations: 0.6994 MB / 1.045 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.534, allocations: 1.194 MB / 1.046 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.534, allocations: 2.75 kB / 1.046 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.5342, allocations: 81.39 kB / 1.047 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001672/0.5344, allocations: 55.25 kB / 1.047 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.5344, allocations: 15.75 kB / 1.047 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000251/0.5347, allocations: 0.6184 MB / 1.047 GB, free: 103.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5347, allocations: 0 / 1.047 GB, free: 103.4 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.5361, allocations: 0.894 MB / 1.048 GB, free: 103 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/0.5363, allocations: 129.4 kB / 1.048 GB, free: 103 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.027e-05/0.5364, allocations: 6.906 kB / 1.048 GB, free: 103 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000369/0.5368, allocations: 58.27 kB / 1.048 GB, free: 103 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.5368, allocations: 22.34 kB / 1.048 GB, free: 103 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.5368, allocations: 26.42 kB / 1.048 GB, free: 103 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004014/0.5372, allocations: 488.3 kB / 1.049 GB, free: 102.8 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.5372, allocations: 2.906 kB / 1.049 GB, free: 102.8 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006651/0.5379, allocations: 272.8 kB / 1.049 GB, free: 102.7 MB / 0.9948 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.00198/0.5399, allocations: 1.637 MB / 1.051 GB, free: 101.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.5409, allocations: 486 kB / 1.051 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5409, allocations: 2.625 kB / 1.051 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004116/0.5413, allocations: 231.3 kB / 1.051 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.5423, allocations: 393.2 kB / 1.052 GB, free: 101.6 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006292/0.5486, allocations: 5.769 MB / 1.057 GB, free: 98.59 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.5488, allocations: 334.5 kB / 1.058 GB, free: 98.48 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005299/0.5494, allocations: 161.2 kB / 1.058 GB, free: 98.46 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.5496, allocations: 275 kB / 1.058 GB, free: 98.27 MB / 0.9948 GB Notification: Performance of SimCode: time 1.984e-06/0.5496, allocations: 4.672 kB / 1.058 GB, free: 98.27 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04698/0.5966, allocations: 24.62 MB / 1.082 GB, free: 95.08 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.455/9.051, allocations: 13.92 kB / 1.082 GB, free: 95.07 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sou.T in file Buildings_12_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.csv. Warning: Get data of variable sou.T from file Buildings_12_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.csv failed! Error: Could not read variable ref.T in file Buildings_12_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.csv. Warning: Get data of variable ref.T from file Buildings_12_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.csv failed! Error: Could not read variable eva.eps in file Buildings_12_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.csv. Warning: Get data of variable eva.eps from file Buildings_12_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.csv failed! Error: Could not read variable m_flow.y in file Buildings_12_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.csv. Warning: Get data of variable m_flow.y from file Buildings_12_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.42572905588895]