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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001576/0.001575, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001141/0.001141, allocations: 193.4 kB / 16.25 MB, free: 6.633 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.282/1.282, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.416/2.416, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 63.91 kB / 0.8689 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5592/0.5616, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03123/0.5929, allocations: 35.62 MB / 1.052 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.6032, allocations: 7.98 MB / 1.059 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.6043, allocations: 31.81 kB / 1.06 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.6055, allocations: 358.1 kB / 1.06 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0034/0.6089, allocations: 1.307 MB / 1.061 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002722/0.6116, allocations: 1.019 MB / 1.062 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002468/0.6141, allocations: 2.142 MB / 1.064 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008886/0.615, allocations: 0.7079 MB / 1.065 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.6168, allocations: 0.9032 MB / 1.066 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007447/0.6176, allocations: 0.6379 MB / 1.066 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.6177, allocations: 76 kB / 1.066 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.6192, allocations: 0.7924 MB / 1.067 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.6194, allocations: 207.3 kB / 1.067 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004354/0.6198, allocations: 481.9 kB / 1.068 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.6216, allocations: 1.527 MB / 1.069 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6216, allocations: 0 / 1.069 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6216, allocations: 0 / 1.069 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.6216, allocations: 3.984 kB / 1.069 GB, free: 12.79 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.001765/0.6234, allocations: 1.225 MB / 1.071 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.6234, allocations: 12.03 kB / 1.071 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.6235, allocations: 110.7 kB / 1.071 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/0.6261, allocations: 295.5 kB / 1.071 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.6272, allocations: 0.7491 MB / 1.072 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.6273, allocations: 41.31 kB / 1.072 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.075e-05/0.6274, allocations: 60 kB / 1.072 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.6291, allocations: 0.7915 MB / 1.073 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.6291, allocations: 3.938 kB / 1.073 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.128e-05/0.6292, allocations: 31.98 kB / 1.073 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/0.6292, allocations: 20 kB / 1.073 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.6313, allocations: 0.6139 MB / 1.073 GB, free: 8.688 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.004495/0.6358, allocations: 3.927 MB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.6376, allocations: 462.7 kB / 1.078 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008119/0.6385, allocations: 204.7 kB / 1.078 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005823/0.6391, allocations: 0.5259 MB / 1.078 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.6391, allocations: 42.5 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 1.793e-06/0.6391, allocations: 0 / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.003037/0.6421, allocations: 0.77 MB / 1.079 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.6422, allocations: 114.8 kB / 1.079 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006781/0.6429, allocations: 0.5821 MB / 1.08 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.548e-05/0.643, allocations: 33.7 kB / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.6432, allocations: 379.7 kB / 1.08 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.815e-05/0.6433, allocations: 98.64 kB / 1.08 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.6435, allocations: 106 kB / 1.08 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.6436, allocations: 366.7 kB / 1.081 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008269/0.6444, allocations: 200.7 kB / 1.081 GB, free: 420 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009294/0.6454, allocations: 355.4 kB / 1.081 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.6471, allocations: 0.5288 MB / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6471, allocations: 0 / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002092/0.6492, allocations: 0.6584 MB / 1.082 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.6493, allocations: 4 kB / 1.082 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.6493, allocations: 4 kB / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002583/0.6495, allocations: 60.83 kB / 1.082 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007773/0.6503, allocations: 132.2 kB / 1.083 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004384/0.6508, allocations: 0.6225 MB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009008/0.6517, allocations: 103.5 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.6518, allocations: 31.97 kB / 1.083 GB, free: 13.76 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.0003142/0.6521, allocations: 226.2 kB / 1.084 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.6522, allocations: 63.19 kB / 1.084 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.6544, allocations: 0.6195 MB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.6544, allocations: 4 kB / 1.084 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.6544, allocations: 0 / 1.084 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001861/0.6563, allocations: 0.7 MB / 1.085 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/0.6592, allocations: 1.298 MB / 1.086 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.6592, allocations: 0 / 1.086 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006061/0.6598, allocations: 76.06 kB / 1.086 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001968/0.6601, allocations: 56.81 kB / 1.086 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.271e-05/0.6601, allocations: 23.86 kB / 1.086 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004139/0.6605, allocations: 0.6227 MB / 1.087 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6605, allocations: 0 / 1.087 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002874/0.6634, allocations: 0.8905 MB / 1.088 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003271/0.6638, allocations: 212.1 kB / 1.088 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.6639, allocations: 4 kB / 1.088 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008917/0.6648, allocations: 79.97 kB / 1.088 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.6649, allocations: 23.91 kB / 1.088 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/0.6649, allocations: 19.97 kB / 1.088 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005742/0.6655, allocations: 487 kB / 1.089 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6655, allocations: 0 / 1.089 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008646/0.6664, allocations: 271.5 kB / 1.089 GB, free: 7.879 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.003745/0.6702, allocations: 1.646 MB / 1.09 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002052/0.6722, allocations: 0.5003 MB / 1.091 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.6723, allocations: 3.938 kB / 1.091 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009332/0.6732, allocations: 236 kB / 1.091 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.6751, allocations: 384.4 kB / 1.091 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.6871, allocations: 6.144 MB / 1.097 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.6877, allocations: 0.9295 MB / 1.098 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0007974/0.6885, allocations: 153.8 kB / 1.099 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003716/0.6888, allocations: 279.2 kB / 1.099 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of SimCode: time 1.823e-06/0.6889, allocations: 0 / 1.099 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.407/5.096, allocations: 21.87 MB / 1.12 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000284/5.097, allocations: 285.3 kB / 1.12 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/7.93, allocations: 4.062 kB / 1.12 GB, free: 7.523 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