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.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.001194/0.001194, allocations: 98.08 kB / 19.73 MB, free: 2.23 MB / 14.72 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.001252/0.001252, allocations: 216.1 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.319/1.319, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.871/2.871, allocations: 0.5003 GB / 0.8061 GB, free: 26.82 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 68.69 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2778, allocations: 179 MB / 1.345 GB, free: 444 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03591/0.3137, allocations: 36.72 MB / 1.381 GB, free: 11.58 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01068/0.3244, allocations: 8.095 MB / 1.389 GB, free: 3.465 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008053/0.3252, allocations: 43.62 kB / 1.389 GB, free: 3.422 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.3262, allocations: 453.2 kB / 1.39 GB, free: 2.977 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00317/0.3294, allocations: 1.47 MB / 1.391 GB, free: 1.504 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.3319, allocations: 1.153 MB / 1.392 GB, free: 372 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002382/0.3343, allocations: 2.178 MB / 1.394 GB, free: 14.18 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007342/0.335, allocations: 0.5775 MB / 1.395 GB, free: 13.59 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001683/0.3367, allocations: 0.9709 MB / 1.396 GB, free: 12.62 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008004/0.3375, allocations: 0.6379 MB / 1.396 GB, free: 11.98 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.3376, allocations: 76 kB / 1.396 GB, free: 11.9 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.3391, allocations: 0.901 MB / 1.397 GB, free: 11 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.3393, allocations: 207.2 kB / 1.398 GB, free: 10.8 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004367/0.3397, allocations: 485.8 kB / 1.398 GB, free: 10.32 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.3415, allocations: 1.565 MB / 1.4 GB, free: 8.75 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.3415, allocations: 0 / 1.4 GB, free: 8.75 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3415, allocations: 0 / 1.4 GB, free: 8.75 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.3415, allocations: 0 / 1.4 GB, free: 8.75 MB / 1.092 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.001794/0.3433, allocations: 1.183 MB / 1.401 GB, free: 7.523 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.3434, allocations: 12.03 kB / 1.401 GB, free: 7.512 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.247e-05/0.3434, allocations: 17.5 kB / 1.401 GB, free: 7.496 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.3435, allocations: 102.7 kB / 1.401 GB, free: 7.387 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/0.3457, allocations: 303.3 kB / 1.401 GB, free: 7.09 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.3469, allocations: 0.7047 MB / 1.402 GB, free: 6.355 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.3469, allocations: 45.31 kB / 1.402 GB, free: 6.312 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.616e-05/0.347, allocations: 59.98 kB / 1.402 GB, free: 6.254 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.3487, allocations: 0.7953 MB / 1.403 GB, free: 5.402 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.3487, allocations: 4 kB / 1.403 GB, free: 5.398 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.535e-05/0.3488, allocations: 23.94 kB / 1.403 GB, free: 5.375 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.485e-05/0.3488, allocations: 31.92 kB / 1.403 GB, free: 5.344 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.3508, allocations: 0.61 MB / 1.403 GB, free: 4.734 MB / 1.092 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.004746/0.3555, allocations: 3.984 MB / 1.407 GB, free: 456 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.3573, allocations: 442.7 kB / 1.408 GB, free: 4 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007784/0.3581, allocations: 196.8 kB / 1.408 GB, free: 15.8 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003985/0.3585, allocations: 71.91 kB / 1.408 GB, free: 15.73 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.3585, allocations: 42.5 kB / 1.408 GB, free: 15.68 MB / 1.107 GB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.3585, allocations: 0 / 1.408 GB, free: 15.68 MB / 1.107 GB Notification: Performance of matching and sorting (n=26): time 0.002881/0.3614, allocations: 0.7007 MB / 1.409 GB, free: 14.97 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.3614, allocations: 114.8 kB / 1.409 GB, free: 14.84 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006967/0.3621, allocations: 0.59 MB / 1.409 GB, free: 14.24 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.668e-05/0.3622, allocations: 33.7 kB / 1.409 GB, free: 14.2 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.3625, allocations: 396.5 kB / 1.41 GB, free: 13.8 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.3626, allocations: 99.11 kB / 1.41 GB, free: 13.71 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.3628, allocations: 106 kB / 1.41 GB, free: 13.59 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.363, allocations: 366.8 kB / 1.41 GB, free: 13.23 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008101/0.3638, allocations: 208.6 kB / 1.41 GB, free: 13.02 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009359/0.3647, allocations: 355.4 kB / 1.411 GB, free: 12.61 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.3664, allocations: 0.5327 MB / 1.411 GB, free: 12.02 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3664, allocations: 0 / 1.411 GB, free: 12.02 MB / 1.107 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002029/0.3685, allocations: 0.6557 MB / 1.412 GB, free: 11.36 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3685, allocations: 4 kB / 1.412 GB, free: 11.35 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.3685, allocations: 11.94 kB / 1.412 GB, free: 11.34 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002343/0.3687, allocations: 60.83 kB / 1.412 GB, free: 11.28 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006804/0.3694, allocations: 136.2 kB / 1.412 GB, free: 11.14 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004804/0.3699, allocations: 0.6226 MB / 1.413 GB, free: 10.5 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006775/0.3706, allocations: 83.7 kB / 1.413 GB, free: 10.41 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.833e-05/0.3706, allocations: 27.97 kB / 1.413 GB, free: 10.39 MB / 1.107 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.0002934/0.3709, allocations: 221.6 kB / 1.413 GB, free: 10.16 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.371, allocations: 63.62 kB / 1.413 GB, free: 10.1 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.3731, allocations: 0.6199 MB / 1.414 GB, free: 9.469 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.3731, allocations: 4 kB / 1.414 GB, free: 9.465 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3731, allocations: 0 / 1.414 GB, free: 9.465 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001795/0.3749, allocations: 0.7023 MB / 1.414 GB, free: 8.691 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002636/0.3775, allocations: 1.266 MB / 1.416 GB, free: 7.359 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3775, allocations: 8.156 kB / 1.416 GB, free: 7.352 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/0.378, allocations: 79.83 kB / 1.416 GB, free: 7.273 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001684/0.3782, allocations: 56.83 kB / 1.416 GB, free: 7.215 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.3782, allocations: 15.97 kB / 1.416 GB, free: 7.199 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004553/0.3787, allocations: 0.6226 MB / 1.416 GB, free: 6.551 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3787, allocations: 0 / 1.416 GB, free: 6.551 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/0.3814, allocations: 0.8981 MB / 1.417 GB, free: 5.617 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.3817, allocations: 135.4 kB / 1.417 GB, free: 5.484 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.3818, allocations: 15.92 kB / 1.417 GB, free: 5.469 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000728/0.3825, allocations: 51.88 kB / 1.418 GB, free: 5.418 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.3826, allocations: 20.03 kB / 1.418 GB, free: 5.398 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.769e-05/0.3826, allocations: 23.97 kB / 1.418 GB, free: 5.375 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005919/0.3832, allocations: 491 kB / 1.418 GB, free: 4.902 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/0.3832, allocations: 0 / 1.418 GB, free: 4.902 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00077/0.384, allocations: 275.4 kB / 1.418 GB, free: 4.633 MB / 1.107 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.003451/0.3875, allocations: 1.626 MB / 1.42 GB, free: 2.957 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001814/0.3893, allocations: 490.4 kB / 1.42 GB, free: 2.48 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3893, allocations: 0.5 kB / 1.42 GB, free: 2.48 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008608/0.3901, allocations: 223.6 kB / 1.421 GB, free: 2.262 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.3918, allocations: 390 kB / 1.421 GB, free: 1.887 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.4022, allocations: 5.81 MB / 1.427 GB, free: 11.85 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.4027, allocations: 0.9296 MB / 1.428 GB, free: 10.89 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005643/0.4033, allocations: 156.5 kB / 1.428 GB, free: 10.74 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/0.4037, allocations: 271.3 kB / 1.428 GB, free: 10.48 MB / 1.123 GB Notification: Performance of SimCode: time 6.91e-07/0.4037, allocations: 0 / 1.428 GB, free: 10.48 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0508/0.4545, allocations: 22.9 MB / 1.45 GB, free: 3.918 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.11, allocations: 8.797 kB / 1.45 GB, free: 3.914 MB / 1.139 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.179362722032238]