Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Fluid.HeatExchangers.Validation.EvaporatorCondenser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sou.T|senTem.T|ref.T|eva.eps|m_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser") translateModel(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sou.T|senTem.T|ref.T|eva.eps|m_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001309, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.2 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7109/0.7122, allocations: 140.4 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03483/0.7471, allocations: 35.88 MB / 0.9846 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01215/0.7593, allocations: 8.037 MB / 0.9925 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.7609, allocations: 32.97 kB / 0.9925 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.7622, allocations: 425.2 kB / 0.9929 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004023/0.7662, allocations: 1.384 MB / 0.9942 GB, free: 3.973 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003063/0.7693, allocations: 1.122 MB / 0.9953 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002679/0.772, allocations: 2.123 MB / 0.9974 GB, free: 0.7344 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009447/0.773, allocations: 0.7193 MB / 0.9981 GB, free: 4 kB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001982/0.775, allocations: 0.8876 MB / 0.999 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007536/0.7757, allocations: 0.6107 MB / 0.9996 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.7759, allocations: 76 kB / 0.9997 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.7776, allocations: 0.7918 MB / 1 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.7778, allocations: 203.3 kB / 1.001 GB, free: 13.44 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0004433/0.7782, allocations: 481.8 kB / 1.001 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.7801, allocations: 1.515 MB / 1.003 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7801, allocations: 4 kB / 1.003 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7801, allocations: 3.938 kB / 1.003 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.7801, allocations: 4 kB / 1.003 GB, free: 11.43 MB / 0.7637 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.001785/0.7819, allocations: 1.217 MB / 1.004 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.782, allocations: 8.031 kB / 1.004 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002366/0.7843, allocations: 303.3 kB / 1.004 GB, free: 9.855 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.7855, allocations: 0.7295 MB / 1.005 GB, free: 9.086 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.7855, allocations: 41.31 kB / 1.005 GB, free: 9.043 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.7856, allocations: 63.94 kB / 1.005 GB, free: 8.98 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.7874, allocations: 0.8031 MB / 1.006 GB, free: 8.121 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.7874, allocations: 3.938 kB / 1.006 GB, free: 8.117 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.509e-05/0.7875, allocations: 28 kB / 1.006 GB, free: 8.09 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.7875, allocations: 16 kB / 1.006 GB, free: 8.074 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/0.7895, allocations: 0.6216 MB / 1.006 GB, free: 7.453 MB / 0.7637 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.004668/0.7942, allocations: 3.962 MB / 1.01 GB, free: 3.203 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.796, allocations: 454.7 kB / 1.011 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007715/0.7968, allocations: 208.6 kB / 1.011 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006004/0.7974, allocations: 0.5181 MB / 1.011 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.7975, allocations: 38.55 kB / 1.011 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=26): time 2.676e-06/0.7975, allocations: 0 / 1.011 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of matching and sorting (n=26): time 0.002959/0.8004, allocations: 0.7699 MB / 1.012 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.8005, allocations: 106.8 kB / 1.012 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006573/0.8012, allocations: 0.5899 MB / 1.013 GB, free: 348 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.8012, allocations: 33.7 kB / 1.013 GB, free: 308 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.8015, allocations: 387.6 kB / 1.013 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.088e-05/0.8016, allocations: 90.69 kB / 1.013 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.8018, allocations: 105.9 kB / 1.013 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.8019, allocations: 374.7 kB / 1.014 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007848/0.8027, allocations: 200.7 kB / 1.014 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008941/0.8036, allocations: 355.4 kB / 1.014 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.8053, allocations: 0.5327 MB / 1.015 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.8053, allocations: 0 / 1.015 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002021/0.8073, allocations: 0.6468 MB / 1.015 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.8073, allocations: 4 kB / 1.015 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.8073, allocations: 4 kB / 1.015 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002526/0.8076, allocations: 69.27 kB / 1.015 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/0.8083, allocations: 139.7 kB / 1.016 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004915/0.8088, allocations: 0.6225 MB / 1.016 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000761/0.8096, allocations: 84.92 kB / 1.016 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.8097, allocations: 27.97 kB / 1.016 GB, free: 12.52 MB / 0.7794 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.000332/0.81, allocations: 217.7 kB / 1.017 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.8101, allocations: 67.19 kB / 1.017 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.8123, allocations: 0.6166 MB / 1.017 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.8123, allocations: 3.938 kB / 1.017 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.8123, allocations: 0 / 1.017 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001815/0.8141, allocations: 0.7043 MB / 1.018 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002826/0.8169, allocations: 1.304 MB / 1.019 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.817, allocations: 7.984 kB / 1.019 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005569/0.8175, allocations: 75.84 kB / 1.019 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000214/0.8178, allocations: 64.91 kB / 1.019 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/0.8178, allocations: 11.98 kB / 1.019 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004222/0.8182, allocations: 0.6109 MB / 1.02 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.8182, allocations: 0 / 1.02 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/0.821, allocations: 0.8872 MB / 1.021 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.8213, allocations: 208.2 kB / 1.021 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.8214, allocations: 11.91 kB / 1.021 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007628/0.8221, allocations: 55.98 kB / 1.021 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.8222, allocations: 23.91 kB / 1.021 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-05/0.8223, allocations: 27.97 kB / 1.021 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005658/0.8228, allocations: 483 kB / 1.022 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8228, allocations: 0 / 1.022 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008628/0.8237, allocations: 267.6 kB / 1.022 GB, free: 6.66 MB / 0.7794 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.0006146/0.8243, allocations: 308.6 kB / 1.022 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001906/0.8263, allocations: 0.5077 MB / 1.023 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8263, allocations: 0 / 1.023 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0009129/0.8272, allocations: 237.2 kB / 1.023 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.8289, allocations: 396 kB / 1.023 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.8313, allocations: 1.282 MB / 1.024 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.8317, allocations: 0.9256 MB / 1.025 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006184/0.8324, allocations: 160.7 kB / 1.026 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.8325, allocations: 67.39 kB / 1.026 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of SimCode: time 3.5e-07/0.8325, allocations: 0 / 1.026 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of Templates: time 0.02656/0.8591, allocations: 16.21 MB / 1.041 GB, free: 2.746 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches