Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001139/0.001139, 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.008614/0.008614, allocations: 170.9 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.464/1.464, allocations: 223.2 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.912/2.912, allocations: 470.6 MB / 0.7442 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 11.75 kB / 0.9123 GB, free: 34.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3135, allocations: 161.4 MB / 1.07 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.882/1.196, allocations: 209.2 MB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009719/1.205, allocations: 7.069 MB / 1.281 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/1.207, allocations: 32.91 kB / 1.281 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001691/1.208, allocations: 0.6501 MB / 1.282 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006066/1.215, allocations: 2.37 MB / 1.284 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002914/1.217, allocations: 1.054 MB / 1.285 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005288/1.223, allocations: 3.755 MB / 1.289 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002085/1.225, allocations: 0.8939 MB / 1.29 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004581/1.229, allocations: 1.755 MB / 1.291 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002759/1.232, allocations: 0.9225 MB / 1.292 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003683/1.233, allocations: 46.38 kB / 1.292 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006064/1.239, allocations: 2.804 MB / 1.295 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007282/1.239, allocations: 344.5 kB / 1.295 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001684/1.241, allocations: 0.6257 MB / 1.296 GB, free: 21.05 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004764/1.246, allocations: 2.524 MB / 1.298 GB, free: 20.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.246, allocations: 1.25 kB / 1.298 GB, free: 20.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.146e-06/1.246, allocations: 0 / 1.298 GB, free: 20.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.696e-05/1.246, allocations: 4 kB / 1.298 GB, free: 20.91 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.004713/1.251, allocations: 1.593 MB / 1.3 GB, free: 20.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.251, allocations: 13.52 kB / 1.3 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/1.254, allocations: 0.5844 MB / 1.301 GB, free: 19.92 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/1.256, allocations: 0.9711 MB / 1.302 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006785/1.257, allocations: 193.6 kB / 1.302 GB, free: 19.56 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/1.257, allocations: 90.48 kB / 1.302 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002959/1.26, allocations: 1.27 MB / 1.303 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/1.26, allocations: 0 / 1.303 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/1.26, allocations: 28.81 kB / 1.303 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.111e-05/1.26, allocations: 48.78 kB / 1.303 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003994/1.264, allocations: 1.622 MB / 1.305 GB, free: 19.44 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.007113/1.271, allocations: 4.088 MB / 1.309 GB, free: 17.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/1.274, allocations: 1.048 MB / 1.31 GB, free: 17.76 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/1.276, allocations: 0.7019 MB / 1.31 GB, free: 17.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/1.277, allocations: 0.6375 MB / 1.311 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/1.277, allocations: 42.52 kB / 1.311 GB, free: 17.12 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 2.454e-06/1.277, allocations: 1.375 kB / 1.311 GB, free: 17.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.005052/1.282, allocations: 1.921 MB / 1.313 GB, free: 16.97 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/1.282, allocations: 59.28 kB / 1.313 GB, free: 16.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/1.283, allocations: 0.8246 MB / 1.314 GB, free: 16.75 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/1.283, allocations: 41.98 kB / 1.314 GB, free: 16.72 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/1.283, allocations: 441.5 kB / 1.314 GB, free: 16.55 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/1.284, allocations: 264.7 kB / 1.315 GB, free: 16.38 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/1.284, allocations: 60.61 kB / 1.315 GB, free: 16.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.284, allocations: 335.9 kB / 1.315 GB, free: 16.05 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/1.285, allocations: 0.5642 MB / 1.315 GB, free: 16.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/1.287, allocations: 0.6927 MB / 1.316 GB, free: 15.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002797/1.29, allocations: 1.208 MB / 1.317 GB, free: 15.82 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.29, allocations: 1.859 kB / 1.317 GB, free: 15.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003558/1.293, allocations: 1.409 MB / 1.319 GB, free: 15.67 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/1.293, allocations: 151.6 kB / 1.319 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.293, allocations: 3.984 kB / 1.319 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/1.293, allocations: 4.531 kB / 1.319 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/1.295, allocations: 274.6 kB / 1.319 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009409/1.296, allocations: 1.197 MB / 1.32 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/1.297, allocations: 192.3 kB / 1.32 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.44e-05/1.297, allocations: 31.64 kB / 1.321 GB, free: 14.28 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.266e-06/1.297, allocations: 3.719 kB / 1.321 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003049/1.3, allocations: 1.308 MB / 1.322 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/1.3, allocations: 3.938 kB / 1.322 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/1.3, allocations: 6.156 kB / 1.322 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/1.302, allocations: 250.5 kB / 1.322 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/1.302, allocations: 5.094 kB / 1.322 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/1.303, allocations: 191.4 kB / 1.322 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.782e-05/1.303, allocations: 36.34 kB / 1.322 GB, free: 14.14 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.0007752/1.304, allocations: 377.7 kB / 1.323 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/1.304, allocations: 107.2 kB / 1.323 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003339/1.307, allocations: 1.438 MB / 1.324 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/1.307, allocations: 6.375 kB / 1.324 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.307, allocations: 3.375 kB / 1.324 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/1.307, allocations: 2.906 kB / 1.324 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005449/1.313, allocations: 2.927 MB / 1.327 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.313, allocations: 5.375 kB / 1.327 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/1.314, allocations: 256.1 kB / 1.327 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/1.314, allocations: 9.281 kB / 1.327 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.348e-05/1.314, allocations: 30.25 kB / 1.327 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007973/1.315, allocations: 1.189 MB / 1.328 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/1.315, allocations: 9.812 kB / 1.328 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/1.318, allocations: 1.538 MB / 1.33 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005916/1.319, allocations: 313.7 kB / 1.33 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/1.319, allocations: 20.14 kB / 1.33 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.32, allocations: 159.7 kB / 1.33 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/1.32, allocations: 68.75 kB / 1.33 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-05/1.32, allocations: 34.62 kB / 1.331 GB, free: 11.54 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000733/1.321, allocations: 0.5702 MB / 1.331 GB, free: 11.43 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.321, allocations: 0 / 1.331 GB, free: 11.43 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00135/1.323, allocations: 0.5321 MB / 1.332 GB, free: 11.38 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.0006394/1.323, allocations: 284.7 kB / 1.332 GB, free: 11.23 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005233/1.328, allocations: 2.145 MB / 1.334 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.328, allocations: 0 / 1.334 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001722/1.33, allocations: 0.7057 MB / 1.335 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/1.333, allocations: 0.5132 MB / 1.335 GB, free: 10.97 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004758/1.338, allocations: 2.548 MB / 1.338 GB, free: 9.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008936/1.339, allocations: 1.096 MB / 1.339 GB, free: 9.035 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001727/1.341, allocations: 393.9 kB / 1.339 GB, free: 8.945 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/1.341, allocations: 86.75 kB / 1.339 GB, free: 8.938 MB / 1.014 GB Notification: Performance of SimCode: time 1.112e-06/1.341, allocations: 1.859 kB / 1.339 GB, free: 8.938 MB / 1.014 GB Notification: Performance of Templates: time 0.03724/1.378, allocations: 20.22 MB / 1.359 GB, free: 188 kB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches