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.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.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.001012/0.001012, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.007301/0.007301, allocations: 170.5 kB / 16.27 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.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.42/2.42, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003644, allocations: 8.281 kB / 0.8159 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.766/0.7664, allocations: 142.4 MB / 0.955 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.2414/1.008, allocations: 209.2 MB / 1.159 GB, free: 13.37 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01355/1.021, allocations: 7.052 MB / 1.166 GB, free: 6.301 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/1.024, allocations: 35.75 kB / 1.166 GB, free: 6.266 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002542/1.026, allocations: 0.6567 MB / 1.167 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007751/1.034, allocations: 2.37 MB / 1.169 GB, free: 3.227 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003446/1.037, allocations: 1.056 MB / 1.17 GB, free: 2.184 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005171/1.043, allocations: 3.753 MB / 1.174 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/1.045, allocations: 0.8986 MB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004985/1.05, allocations: 1.751 MB / 1.177 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002646/1.052, allocations: 0.928 MB / 1.177 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003573/1.053, allocations: 48 kB / 1.177 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005505/1.058, allocations: 2.79 MB / 1.18 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006212/1.059, allocations: 346.7 kB / 1.181 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001314/1.06, allocations: 0.635 MB / 1.181 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004647/1.065, allocations: 2.508 MB / 1.184 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/1.065, allocations: 0 / 1.184 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.175e-06/1.065, allocations: 0 / 1.184 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.204e-05/1.065, allocations: 0 / 1.184 GB, free: 4.473 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.004866/1.07, allocations: 1.61 MB / 1.185 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.07, allocations: 8.031 kB / 1.185 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00342/1.073, allocations: 0.5916 MB / 1.186 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/1.075, allocations: 0.9602 MB / 1.187 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006976/1.076, allocations: 201.8 kB / 1.187 GB, free: 1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/1.076, allocations: 80 kB / 1.187 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003136/1.079, allocations: 1.268 MB / 1.188 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/1.079, allocations: 0 / 1.188 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/1.079, allocations: 32 kB / 1.188 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.416e-05/1.08, allocations: 49.86 kB / 1.188 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004224/1.084, allocations: 1.624 MB / 1.19 GB, free: 13.94 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.007612/1.091, allocations: 4.08 MB / 1.194 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002814/1.094, allocations: 1.052 MB / 1.195 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/1.096, allocations: 0.704 MB / 1.196 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/1.097, allocations: 0.636 MB / 1.196 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/1.097, allocations: 43.22 kB / 1.196 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=76): time 2.324e-06/1.097, allocations: 0 / 1.196 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76): time 0.005486/1.103, allocations: 1.918 MB / 1.198 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/1.103, allocations: 60.06 kB / 1.198 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/1.104, allocations: 0.8271 MB / 1.199 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/1.104, allocations: 45.7 kB / 1.199 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004033/1.105, allocations: 440.5 kB / 1.199 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/1.105, allocations: 256.2 kB / 1.2 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/1.105, allocations: 61.69 kB / 1.2 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.105, allocations: 337.9 kB / 1.2 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/1.107, allocations: 0.5641 MB / 1.201 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/1.109, allocations: 0.6863 MB / 1.201 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003234/1.112, allocations: 1.209 MB / 1.202 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/1.112, allocations: 3.938 kB / 1.202 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00383/1.116, allocations: 1.423 MB / 1.204 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001312/1.116, allocations: 139.9 kB / 1.204 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/1.116, allocations: 4.062 kB / 1.204 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/1.116, allocations: 4 kB / 1.204 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/1.117, allocations: 287.6 kB / 1.204 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007642/1.118, allocations: 1.192 MB / 1.205 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/1.12, allocations: 191.2 kB / 1.206 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/1.12, allocations: 35.97 kB / 1.206 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/1.12, allocations: 7.938 kB / 1.206 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003366/1.123, allocations: 1.298 MB / 1.207 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.123, allocations: 4 kB / 1.207 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/1.123, allocations: 4 kB / 1.207 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/1.125, allocations: 251.7 kB / 1.207 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/1.125, allocations: 4 kB / 1.207 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/1.126, allocations: 187.3 kB / 1.207 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.004e-05/1.126, allocations: 31.97 kB / 1.207 GB, free: 11.38 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.0006679/1.127, allocations: 376.9 kB / 1.208 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003055/1.127, allocations: 114.6 kB / 1.208 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00381/1.131, allocations: 1.426 MB / 1.209 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/1.131, allocations: 8 kB / 1.209 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.131, allocations: 0 / 1.209 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/1.131, allocations: 3.984 kB / 1.209 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00636/1.137, allocations: 2.933 MB / 1.212 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.137, allocations: 7.984 kB / 1.212 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/1.139, allocations: 260.1 kB / 1.212 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.679e-05/1.139, allocations: 4 kB / 1.212 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/1.139, allocations: 23.98 kB / 1.212 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006748/1.139, allocations: 1.199 MB / 1.214 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.139, allocations: 4 kB / 1.214 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003644/1.143, allocations: 1.541 MB / 1.215 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006518/1.144, allocations: 307.6 kB / 1.215 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/1.144, allocations: 16 kB / 1.215 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/1.145, allocations: 171.6 kB / 1.216 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/1.146, allocations: 60.44 kB / 1.216 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.818e-05/1.146, allocations: 35.97 kB / 1.216 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009601/1.147, allocations: 0.5778 MB / 1.216 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.147, allocations: 0 / 1.216 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002051/1.149, allocations: 0.5341 MB / 1.217 GB, free: 1.531 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.0008548/1.15, allocations: 261.3 kB / 1.217 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006068/1.156, allocations: 2.143 MB / 1.219 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.156, allocations: 0 / 1.219 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/1.158, allocations: 0.7066 MB / 1.22 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003653/1.161, allocations: 0.5225 MB / 1.22 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004944/1.166, allocations: 2.558 MB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/1.167, allocations: 1.091 MB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001727/1.169, allocations: 391.5 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003622/1.169, allocations: 87.41 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of SimCode: time 1.002e-06/1.169, allocations: 0 / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of Templates: time 0.03999/1.209, allocations: 20.25 MB / 1.244 GB, free: 5.711 MB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches