Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.ConstantEffectivenessZeroFlowBothStreams,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_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,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_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008736/0.008736, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.342/1.342, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.683/2.683, allocations: 462.7 MB / 0.7364 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003533, allocations: 11.52 kB / 0.9028 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3177, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.8419/1.16, allocations: 209.2 MB / 1.263 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009865/1.17, allocations: 7.064 MB / 1.27 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/1.171, allocations: 34.66 kB / 1.27 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002275/1.173, allocations: 0.6526 MB / 1.271 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008714/1.182, allocations: 2.374 MB / 1.273 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00454/1.187, allocations: 1.058 MB / 1.274 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007595/1.194, allocations: 3.753 MB / 1.278 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002485/1.197, allocations: 0.8962 MB / 1.278 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005462/1.202, allocations: 1.76 MB / 1.28 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003311/1.206, allocations: 0.9151 MB / 1.281 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003567/1.206, allocations: 45.56 kB / 1.281 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007793/1.214, allocations: 2.792 MB / 1.284 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008786/1.215, allocations: 348.9 kB / 1.284 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00142/1.216, allocations: 0.6281 MB / 1.285 GB, free: 18.43 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005896/1.222, allocations: 2.52 MB / 1.287 GB, free: 18.28 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.222, allocations: 4.938 kB / 1.287 GB, free: 18.28 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.044e-06/1.222, allocations: 0 / 1.287 GB, free: 18.28 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.314e-05/1.222, allocations: 0 / 1.287 GB, free: 18.28 MB / 1.014 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.006396/1.229, allocations: 1.601 MB / 1.289 GB, free: 17.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.229, allocations: 9.906 kB / 1.289 GB, free: 17.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005313/1.234, allocations: 0.5815 MB / 1.289 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00288/1.237, allocations: 0.9678 MB / 1.29 GB, free: 16.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009771/1.238, allocations: 199.7 kB / 1.291 GB, free: 16.94 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000265/1.238, allocations: 82.25 kB / 1.291 GB, free: 16.94 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004416/1.243, allocations: 1.268 MB / 1.292 GB, free: 16.87 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/1.243, allocations: 4.656 kB / 1.292 GB, free: 16.87 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/1.243, allocations: 36.62 kB / 1.292 GB, free: 16.87 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.621e-05/1.243, allocations: 45.52 kB / 1.292 GB, free: 16.86 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005294/1.248, allocations: 1.618 MB / 1.293 GB, free: 16.82 MB / 1.014 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.006624/1.255, allocations: 4.094 MB / 1.297 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/1.257, allocations: 1.052 MB / 1.299 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/1.259, allocations: 0.6975 MB / 1.299 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/1.26, allocations: 0.6363 MB / 1.3 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/1.26, allocations: 43.19 kB / 1.3 GB, free: 14.51 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 2.444e-06/1.26, allocations: 0 / 1.3 GB, free: 14.51 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.00527/1.266, allocations: 1.924 MB / 1.302 GB, free: 14.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/1.266, allocations: 59.78 kB / 1.302 GB, free: 14.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/1.267, allocations: 0.8206 MB / 1.303 GB, free: 14.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001489/1.267, allocations: 43.64 kB / 1.303 GB, free: 14.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/1.267, allocations: 447.4 kB / 1.303 GB, free: 13.94 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/1.268, allocations: 263.6 kB / 1.303 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/1.268, allocations: 57.64 kB / 1.303 GB, free: 13.76 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.839e-05/1.268, allocations: 332.4 kB / 1.304 GB, free: 13.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/1.269, allocations: 0.5612 MB / 1.304 GB, free: 13.44 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/1.271, allocations: 0.6931 MB / 1.305 GB, free: 13.34 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002927/1.274, allocations: 1.202 MB / 1.306 GB, free: 13.23 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.274, allocations: 1.375 kB / 1.306 GB, free: 13.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003517/1.277, allocations: 1.419 MB / 1.307 GB, free: 13.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.721e-05/1.277, allocations: 147.4 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.277, allocations: 10.75 kB / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/1.277, allocations: 2.906 kB / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/1.279, allocations: 281.6 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006423/1.28, allocations: 1.193 MB / 1.309 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/1.281, allocations: 192 kB / 1.309 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.437e-05/1.281, allocations: 36.62 kB / 1.309 GB, free: 11.69 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/1.281, allocations: 3.375 kB / 1.309 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002997/1.284, allocations: 1.302 MB / 1.311 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/1.284, allocations: 3.469 kB / 1.311 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-06/1.284, allocations: 3.719 kB / 1.311 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/1.285, allocations: 248.5 kB / 1.311 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.285, allocations: 2.844 kB / 1.311 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/1.287, allocations: 198.4 kB / 1.311 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.467e-05/1.287, allocations: 33.81 kB / 1.311 GB, free: 11.55 MB / 1.014 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.0006796/1.287, allocations: 382.9 kB / 1.311 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/1.288, allocations: 101.6 kB / 1.311 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003469/1.291, allocations: 1.434 MB / 1.313 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.291, allocations: 6.156 kB / 1.313 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/1.291, allocations: 7.281 kB / 1.313 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/1.291, allocations: 3.188 kB / 1.313 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005461/1.297, allocations: 2.934 MB / 1.316 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.297, allocations: 3.5 kB / 1.316 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/1.298, allocations: 254.4 kB / 1.316 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/1.298, allocations: 6.188 kB / 1.316 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.284e-05/1.298, allocations: 25.17 kB / 1.316 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006939/1.299, allocations: 1.198 MB / 1.317 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.299, allocations: 3.281 kB / 1.317 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003309/1.302, allocations: 1.541 MB / 1.319 GB, free: 9.133 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005334/1.303, allocations: 312.6 kB / 1.319 GB, free: 8.977 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/1.303, allocations: 20.11 kB / 1.319 GB, free: 8.977 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/1.304, allocations: 158.7 kB / 1.319 GB, free: 8.961 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/1.304, allocations: 67.14 kB / 1.319 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.077e-05/1.304, allocations: 33.67 kB / 1.319 GB, free: 8.953 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007/1.305, allocations: 0.5698 MB / 1.32 GB, free: 8.844 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.305, allocations: 0 / 1.32 GB, free: 8.844 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00134/1.306, allocations: 0.5307 MB / 1.32 GB, free: 8.785 MB / 1.014 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.0005982/1.307, allocations: 272.2 kB / 1.321 GB, free: 8.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005202/1.312, allocations: 2.139 MB / 1.323 GB, free: 8.465 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.312, allocations: 3.156 kB / 1.323 GB, free: 8.465 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001638/1.314, allocations: 0.7039 MB / 1.323 GB, free: 8.445 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00319/1.317, allocations: 0.5164 MB / 1.324 GB, free: 8.398 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004607/1.322, allocations: 2.562 MB / 1.326 GB, free: 7.168 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008685/1.323, allocations: 1.097 MB / 1.327 GB, free: 6.453 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001799/1.324, allocations: 397 kB / 1.328 GB, free: 6.363 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/1.325, allocations: 85.06 kB / 1.328 GB, free: 6.355 MB / 1.014 GB Notification: Performance of SimCode: time 2.244e-06/1.325, allocations: 4 kB / 1.328 GB, free: 6.352 MB / 1.014 GB Notification: Performance of Templates: time 0.03579/1.36, allocations: 20.25 MB / 1.348 GB, free: 14.54 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches