Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.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: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCon_in.y|TEva_in.y|TSen1.T|TSen2.T|TSet.y",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCon_in.y|TEva_in.y|TSen1.T|TSen2.T|TSet.y",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.00153, allocations: 111.7 kB / 16.42 MB, free: 6.516 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.001658/0.001659, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.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.479/2.479, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 60.12 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7512/0.7525, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger): time 0.1566/0.9092, allocations: 161.4 MB / 1.325 GB, free: 1.879 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.04216/0.9514, allocations: 28.76 MB / 1.353 GB, free: 5.055 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008058/0.9595, allocations: 182.9 kB / 1.353 GB, free: 4.875 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005916/0.9654, allocations: 1.883 MB / 1.355 GB, free: 2.98 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01437/0.9799, allocations: 4.899 MB / 1.36 GB, free: 14.06 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.008397/0.9883, allocations: 3.097 MB / 1.363 GB, free: 10.99 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01275/1.001, allocations: 8.538 MB / 1.371 GB, free: 2.43 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006419/1.008, allocations: 3.17 MB / 1.374 GB, free: 15.19 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01091/1.018, allocations: 3.992 MB / 1.378 GB, free: 11.2 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005265/1.024, allocations: 2.493 MB / 1.381 GB, free: 8.695 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001529/1.025, allocations: 364 kB / 1.381 GB, free: 8.34 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006982/1.032, allocations: 2.558 MB / 1.383 GB, free: 5.777 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001669/1.034, allocations: 0.8172 MB / 1.384 GB, free: 4.957 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.004602/1.039, allocations: 1.932 MB / 1.386 GB, free: 3.016 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01318/1.052, allocations: 6.22 MB / 1.392 GB, free: 12.78 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.052, allocations: 0 / 1.392 GB, free: 12.78 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.114e-06/1.052, allocations: 0 / 1.392 GB, free: 12.78 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002139/1.052, allocations: 0 / 1.392 GB, free: 12.78 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.01178/1.064, allocations: 4.103 MB / 1.396 GB, free: 8.594 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/1.064, allocations: 16.88 kB / 1.396 GB, free: 8.578 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00421/1.068, allocations: 0.8017 MB / 1.397 GB, free: 7.773 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007488/1.076, allocations: 3.061 MB / 1.4 GB, free: 4.648 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/1.076, allocations: 155.8 kB / 1.4 GB, free: 4.496 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007728/1.077, allocations: 211.9 kB / 1.4 GB, free: 4.289 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006858/1.084, allocations: 2.465 MB / 1.403 GB, free: 1.762 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.191e-05/1.084, allocations: 0 / 1.403 GB, free: 1.762 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004301/1.084, allocations: 84 kB / 1.403 GB, free: 1.68 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-05/1.084, allocations: 67.66 kB / 1.403 GB, free: 1.613 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006097/1.09, allocations: 2.29 MB / 1.405 GB, free: 15.32 MB / 1.139 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.02053/1.111, allocations: 12.59 MB / 1.417 GB, free: 1.809 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003644/1.115, allocations: 1.483 MB / 1.419 GB, free: 332 kB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00202/1.117, allocations: 0.8942 MB / 1.42 GB, free: 15.43 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001793/1.118, allocations: 1.801 MB / 1.422 GB, free: 13.24 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002356/1.121, allocations: 0.9623 MB / 1.422 GB, free: 12.26 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001299/1.122, allocations: 154.9 kB / 1.423 GB, free: 12.11 MB / 1.154 GB Notification: Performance of pre-optimization done (n=132): time 8.236e-06/1.122, allocations: 0 / 1.423 GB, free: 12.11 MB / 1.154 GB Notification: Performance of matching and sorting (n=132): time 0.008199/1.13, allocations: 2.95 MB / 1.425 GB, free: 9.102 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/1.131, allocations: 90.42 kB / 1.426 GB, free: 8.996 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005712/1.136, allocations: 2.668 MB / 1.428 GB, free: 6.324 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002608/1.137, allocations: 53.7 kB / 1.428 GB, free: 6.266 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001578/1.138, allocations: 1.358 MB / 1.43 GB, free: 4.895 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007006/1.139, allocations: 475.9 kB / 1.43 GB, free: 4.426 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/1.14, allocations: 331.4 kB / 1.43 GB, free: 4.098 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.14, allocations: 301.1 kB / 1.431 GB, free: 3.801 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/1.143, allocations: 0.7816 MB / 1.431 GB, free: 3.016 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003586/1.147, allocations: 1.137 MB / 1.432 GB, free: 1.75 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006054/1.153, allocations: 1.859 MB / 1.434 GB, free: 15.78 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/1.153, allocations: 4 kB / 1.434 GB, free: 15.77 MB / 1.17 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.009275/1.162, allocations: 2.462 MB / 1.437 GB, free: 13.29 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 7.583e-05/1.162, allocations: 41.69 kB / 1.437 GB, free: 13.24 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/1.162, allocations: 4 kB / 1.437 GB, free: 13.24 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/1.163, allocations: 161.8 kB / 1.437 GB, free: 13.07 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002654/1.166, allocations: 403.4 kB / 1.437 GB, free: 12.68 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/1.167, allocations: 1.206 MB / 1.438 GB, free: 11.42 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003526/1.171, allocations: 168 kB / 1.439 GB, free: 11.26 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003479/1.171, allocations: 75.95 kB / 1.439 GB, free: 11.18 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004487/1.176, allocations: 1.265 MB / 1.44 GB, free: 9.914 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003405/1.179, allocations: 1.126 MB / 1.441 GB, free: 8.664 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005806/1.185, allocations: 1.832 MB / 1.443 GB, free: 6.723 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.287e-06/1.185, allocations: 4 kB / 1.443 GB, free: 6.719 MB / 1.17 GB Notification: Performance of matching and sorting (n=187) (initialization_lambda0): time 0.006147/1.191, allocations: 2.369 MB / 1.445 GB, free: 4.328 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.056e-05/1.191, allocations: 41.7 kB / 1.445 GB, free: 4.281 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/1.191, allocations: 8 kB / 1.445 GB, free: 4.273 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003949/1.191, allocations: 109.6 kB / 1.445 GB, free: 4.16 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/1.193, allocations: 399.5 kB / 1.446 GB, free: 3.77 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003411/1.197, allocations: 3.633 MB / 1.449 GB, free: 15.85 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/1.199, allocations: 179.9 kB / 1.449 GB, free: 15.67 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002212/1.2, allocations: 79.95 kB / 1.449 GB, free: 15.59 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 8 (TCon_in.nextEventScaled,TCon_in.nextEvent,$PRE.TCon_in.nextEvent,TCon_in.last,TCon_in.b,TCon_in.a,$whenCondition1,hex1.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006026/1.2, allocations: 306.1 kB / 1.45 GB, free: 15.28 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009532/1.201, allocations: 317.9 kB / 1.45 GB, free: 14.97 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006254/1.208, allocations: 2.598 MB / 1.453 GB, free: 12.38 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004532/1.212, allocations: 2.086 MB / 1.455 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.212, allocations: 0 / 1.455 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/1.214, allocations: 0.6626 MB / 1.455 GB, free: 9.551 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006642/1.214, allocations: 35.94 kB / 1.455 GB, free: 9.516 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/1.216, allocations: 135.9 kB / 1.455 GB, free: 9.383 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/1.217, allocations: 101.2 kB / 1.456 GB, free: 9.281 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006107/1.223, allocations: 2.344 MB / 1.458 GB, free: 6.91 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007839/1.231, allocations: 3.458 MB / 1.461 GB, free: 3.422 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001992/1.233, allocations: 0.9596 MB / 1.462 GB, free: 2.457 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.005202/1.238, allocations: 1.808 MB / 1.464 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of Backend: time 5.51e-07/1.238, allocations: 0 / 1.464 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0149/1.253, allocations: 3.506 MB / 1.467 GB, free: 13.12 MB / 1.201 GB Notification: Performance of SimCode: time 0.02227/1.275, allocations: 6.292 MB / 1.473 GB, free: 6.789 MB / 1.201 GB Notification: Performance of Templates: time 0.1346/1.41, allocations: 67.21 MB / 1.539 GB, free: 4.098 MB / 1.264 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches