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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_10_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.001386/0.001386, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001503/0.001503, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.352/1.352, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 63.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5749/0.5765, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03271/0.6092, allocations: 35.68 MB / 1.052 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01135/0.6206, allocations: 8.144 MB / 1.06 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007667/0.6214, allocations: 27.81 kB / 1.06 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0009267/0.6224, allocations: 346.1 kB / 1.06 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.002749/0.6251, allocations: 1.276 MB / 1.061 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.6274, allocations: 1.002 MB / 1.062 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002465/0.6299, allocations: 2.832 MB / 1.065 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006796/0.6306, allocations: 0.5973 MB / 1.065 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.6316, allocations: 0.774 MB / 1.066 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006263/0.6323, allocations: 0.6183 MB / 1.067 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.783e-05/0.6324, allocations: 44 kB / 1.067 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.6337, allocations: 0.737 MB / 1.068 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.6339, allocations: 175.3 kB / 1.068 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003866/0.6343, allocations: 441.8 kB / 1.068 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.6357, allocations: 1.492 MB / 1.07 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.6357, allocations: 0 / 1.07 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of FrontEnd: time 6.81e-07/0.6357, allocations: 0 / 1.07 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.6357, allocations: 0 / 1.07 GB, free: 12.42 MB / 0.8262 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.001731/0.6375, allocations: 1.229 MB / 1.071 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.6375, allocations: 8.031 kB / 1.071 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.6376, allocations: 106.7 kB / 1.071 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002398/0.64, allocations: 291.6 kB / 1.071 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.6411, allocations: 0.7491 MB / 1.072 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.6411, allocations: 45.25 kB / 1.072 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-05/0.6412, allocations: 64 kB / 1.072 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.6429, allocations: 0.7953 MB / 1.073 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.6429, allocations: 7.938 kB / 1.073 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/0.643, allocations: 28 kB / 1.073 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.643, allocations: 16 kB / 1.073 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.645, allocations: 0.6139 MB / 1.073 GB, free: 8.316 MB / 0.8262 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.004336/0.6493, allocations: 3.935 MB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.6512, allocations: 456.3 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009191/0.6521, allocations: 204.6 kB / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007471/0.6529, allocations: 0.5259 MB / 1.078 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.6529, allocations: 34.56 kB / 1.078 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 1.764e-06/0.6529, allocations: 4 kB / 1.078 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.003067/0.656, allocations: 0.77 MB / 1.079 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.6561, allocations: 106.8 kB / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006876/0.6568, allocations: 0.5898 MB / 1.08 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.6569, allocations: 33.7 kB / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.6571, allocations: 383.7 kB / 1.08 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.717e-05/0.6572, allocations: 90.66 kB / 1.08 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.6574, allocations: 113.9 kB / 1.081 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6575, allocations: 370.7 kB / 1.081 GB, free: 236 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008429/0.6584, allocations: 196.7 kB / 1.081 GB, free: 40 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009463/0.6593, allocations: 355.4 kB / 1.081 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.6611, allocations: 0.5249 MB / 1.082 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.6611, allocations: 4 kB / 1.082 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00209/0.6632, allocations: 0.6506 MB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6632, allocations: 8 kB / 1.083 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.6633, allocations: 4 kB / 1.083 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002481/0.6635, allocations: 69.17 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007491/0.6643, allocations: 131.8 kB / 1.083 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004306/0.6647, allocations: 0.6187 MB / 1.083 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008799/0.6656, allocations: 107.5 kB / 1.083 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.6657, allocations: 27.97 kB / 1.083 GB, free: 13.39 MB / 0.8419 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.0003047/0.666, allocations: 222.2 kB / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.6661, allocations: 67.19 kB / 1.084 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.6682, allocations: 0.6272 MB / 1.084 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.6683, allocations: 4 kB / 1.084 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.6683, allocations: 0 / 1.084 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001852/0.6701, allocations: 0.7039 MB / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/0.673, allocations: 1.297 MB / 1.086 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.673, allocations: 0 / 1.086 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005958/0.6736, allocations: 79.84 kB / 1.086 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001858/0.6738, allocations: 56.81 kB / 1.086 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.6738, allocations: 15.92 kB / 1.086 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004074/0.6742, allocations: 0.6227 MB / 1.087 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.6742, allocations: 4.031 kB / 1.087 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/0.677, allocations: 0.8869 MB / 1.088 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/0.6773, allocations: 212 kB / 1.088 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.6775, allocations: 12 kB / 1.088 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008842/0.6784, allocations: 75.97 kB / 1.088 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.6784, allocations: 31.91 kB / 1.088 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.996e-05/0.6785, allocations: 19.97 kB / 1.088 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005578/0.679, allocations: 483 kB / 1.089 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6791, allocations: 0 / 1.089 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008363/0.6799, allocations: 271.5 kB / 1.089 GB, free: 7.496 MB / 0.8419 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.003801/0.6837, allocations: 1.637 MB / 1.091 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001946/0.6857, allocations: 496.3 kB / 1.091 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.6857, allocations: 0 / 1.091 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009147/0.6866, allocations: 232.2 kB / 1.091 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.6884, allocations: 390.5 kB / 1.092 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.6993, allocations: 6.151 MB / 1.098 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.6998, allocations: 0.9218 MB / 1.099 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006706/0.7005, allocations: 156.7 kB / 1.099 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003716/0.7008, allocations: 271.3 kB / 1.099 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of SimCode: time 5.11e-07/0.7009, allocations: 0 / 1.099 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3908/1.092, allocations: 21.4 MB / 1.12 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003787/1.092, allocations: 297.1 kB / 1.12 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/3.414, allocations: 0 / 1.12 GB, free: 7.586 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches