Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 92.31 kB / 16.02 MB, free: 80 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.001907/0.001908, allocations: 180.3 kB / 16.92 MB, free: 6.652 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.444/1.444, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.538/2.538, allocations: 390.9 MB / 0.667 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004035, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7669/0.7673, allocations: 142.4 MB / 0.9557 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.2389/1.006, allocations: 209.2 MB / 1.16 GB, free: 13.43 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0111/1.017, allocations: 7.062 MB / 1.167 GB, free: 6.352 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/1.019, allocations: 39.69 kB / 1.167 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001994/1.021, allocations: 0.6567 MB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006526/1.028, allocations: 2.365 MB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003178/1.031, allocations: 1.05 MB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004864/1.036, allocations: 3.768 MB / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/1.038, allocations: 0.8908 MB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004494/1.042, allocations: 1.763 MB / 1.177 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002708/1.045, allocations: 0.9069 MB / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003499/1.045, allocations: 44 kB / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005383/1.051, allocations: 2.802 MB / 1.181 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006893/1.051, allocations: 346.7 kB / 1.181 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001453/1.053, allocations: 0.6234 MB / 1.182 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003471/1.056, allocations: 1.793 MB / 1.184 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/1.056, allocations: 0 / 1.184 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.475e-06/1.056, allocations: 0 / 1.184 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.343e-05/1.056, allocations: 0 / 1.184 GB, free: 5.254 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.005244/1.062, allocations: 1.598 MB / 1.185 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/1.062, allocations: 12.03 kB / 1.185 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003547/1.065, allocations: 0.5877 MB / 1.186 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/1.067, allocations: 0.9641 MB / 1.187 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007005/1.068, allocations: 189.9 kB / 1.187 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002798/1.068, allocations: 87.98 kB / 1.187 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003276/1.072, allocations: 1.272 MB / 1.188 GB, free: 444 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/1.072, allocations: 4 kB / 1.188 GB, free: 440 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/1.072, allocations: 28 kB / 1.188 GB, free: 412 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.467e-05/1.072, allocations: 49.92 kB / 1.188 GB, free: 360 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004192/1.076, allocations: 1.616 MB / 1.19 GB, free: 14.74 MB / 0.9512 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.007668/1.084, allocations: 4.092 MB / 1.194 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/1.087, allocations: 1.06 MB / 1.195 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/1.088, allocations: 0.7001 MB / 1.196 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/1.09, allocations: 0.636 MB / 1.196 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/1.09, allocations: 39.22 kB / 1.196 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=76): time 2.665e-06/1.09, allocations: 3.938 kB / 1.196 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76): time 0.005466/1.095, allocations: 1.918 MB / 1.198 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/1.095, allocations: 64.05 kB / 1.198 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/1.097, allocations: 0.8154 MB / 1.199 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/1.097, allocations: 49.7 kB / 1.199 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/1.097, allocations: 444.5 kB / 1.199 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/1.097, allocations: 264.2 kB / 1.2 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/1.098, allocations: 57.69 kB / 1.2 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.098, allocations: 337.9 kB / 1.2 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/1.099, allocations: 0.5602 MB / 1.201 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/1.101, allocations: 0.6902 MB / 1.201 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003083/1.104, allocations: 1.209 MB / 1.202 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.104, allocations: 0 / 1.202 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003712/1.108, allocations: 1.411 MB / 1.204 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/1.108, allocations: 151.9 kB / 1.204 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.108, allocations: 4.062 kB / 1.204 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/1.108, allocations: 4 kB / 1.204 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/1.11, allocations: 267.7 kB / 1.204 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007936/1.11, allocations: 1.199 MB / 1.205 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/1.112, allocations: 203.3 kB / 1.206 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/1.112, allocations: 27.98 kB / 1.206 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/1.112, allocations: 7.938 kB / 1.206 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003384/1.115, allocations: 1.313 MB / 1.207 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.115, allocations: 0 / 1.207 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.664e-06/1.115, allocations: 4 kB / 1.207 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/1.117, allocations: 243.8 kB / 1.207 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/1.117, allocations: 4 kB / 1.207 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/1.118, allocations: 187.3 kB / 1.207 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.454e-05/1.118, allocations: 31.98 kB / 1.207 GB, free: 12.16 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000723/1.119, allocations: 376.9 kB / 1.208 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003297/1.119, allocations: 118.6 kB / 1.208 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00384/1.123, allocations: 1.433 MB / 1.209 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/1.123, allocations: 4 kB / 1.209 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.123, allocations: 4 kB / 1.209 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/1.123, allocations: 3.984 kB / 1.209 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006315/1.13, allocations: 2.929 MB / 1.212 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/1.13, allocations: 4 kB / 1.212 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/1.131, allocations: 260 kB / 1.212 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.781e-05/1.131, allocations: 8 kB / 1.212 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.74e-05/1.131, allocations: 27.97 kB / 1.212 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006395/1.132, allocations: 1.188 MB / 1.214 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.132, allocations: 4 kB / 1.214 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003667/1.135, allocations: 1.541 MB / 1.215 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006949/1.136, allocations: 303.6 kB / 1.215 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/1.136, allocations: 23.98 kB / 1.215 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/1.138, allocations: 167.6 kB / 1.216 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/1.138, allocations: 60.48 kB / 1.216 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/1.138, allocations: 39.97 kB / 1.216 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009074/1.139, allocations: 0.57 MB / 1.216 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.61e-07/1.139, allocations: 0 / 1.216 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001681/1.141, allocations: 0.538 MB / 1.217 GB, free: 2.316 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007258/1.141, allocations: 276.3 kB / 1.217 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005802/1.147, allocations: 2.123 MB / 1.219 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.147, allocations: 0 / 1.219 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001863/1.149, allocations: 0.7028 MB / 1.22 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003681/1.153, allocations: 0.5235 MB / 1.22 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005281/1.158, allocations: 2.623 MB / 1.223 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007468/1.159, allocations: 1.087 MB / 1.224 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/1.16, allocations: 99.38 kB / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of SimCode: time 1.163e-06/1.16, allocations: 0 / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of Templates: time 0.03808/1.198, allocations: 26.77 MB / 1.25 GB, free: 128 kB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches