Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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_latest_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_latest_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.001645/0.001645, allocations: 102.2 kB / 16.27 MB, free: 6 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.001616/0.001616, allocations: 191 kB / 17.2 MB, free: 5.609 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.344/1.344, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.609/2.609, allocations: 469.4 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 61.89 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3586, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.8919/1.25, allocations: 214.2 MB / 1.273 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01229/1.263, allocations: 7.047 MB / 1.28 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/1.265, allocations: 43.75 kB / 1.28 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002474/1.267, allocations: 0.7804 MB / 1.281 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007042/1.275, allocations: 2.525 MB / 1.284 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003379/1.278, allocations: 1.151 MB / 1.285 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004143/1.282, allocations: 2.821 MB / 1.287 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002083/1.284, allocations: 1.083 MB / 1.289 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004738/1.289, allocations: 1.985 MB / 1.29 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/1.291, allocations: 0.938 MB / 1.291 GB, free: 352 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004577/1.292, allocations: 120 kB / 1.291 GB, free: 232 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005087/1.297, allocations: 2.44 MB / 1.294 GB, free: 13.78 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007513/1.298, allocations: 426.7 kB / 1.294 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001611/1.299, allocations: 0.6842 MB / 1.295 GB, free: 12.68 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005218/1.305, allocations: 2.466 MB / 1.297 GB, free: 10.2 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.305, allocations: 0 / 1.297 GB, free: 10.2 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.453e-06/1.305, allocations: 0 / 1.297 GB, free: 10.2 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.548e-05/1.305, allocations: 0 / 1.297 GB, free: 10.2 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.005416/1.31, allocations: 1.844 MB / 1.299 GB, free: 8.301 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/1.31, allocations: 12.56 kB / 1.299 GB, free: 8.289 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003299/1.313, allocations: 0.537 MB / 1.3 GB, free: 7.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/1.316, allocations: 0.9601 MB / 1.301 GB, free: 6.746 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006527/1.316, allocations: 177.8 kB / 1.301 GB, free: 6.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002576/1.317, allocations: 88 kB / 1.301 GB, free: 6.484 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003055/1.32, allocations: 1.245 MB / 1.302 GB, free: 5.234 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/1.32, allocations: 0 / 1.302 GB, free: 5.234 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/1.32, allocations: 28 kB / 1.302 GB, free: 5.207 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-05/1.32, allocations: 49.98 kB / 1.302 GB, free: 5.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003915/1.324, allocations: 1.538 MB / 1.304 GB, free: 3.617 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.007049/1.331, allocations: 4.084 MB / 1.308 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/1.334, allocations: 0.9936 MB / 1.309 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/1.335, allocations: 0.6669 MB / 1.309 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/1.336, allocations: 0.6085 MB / 1.31 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/1.336, allocations: 43.2 kB / 1.31 GB, free: 12.81 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 2.936e-06/1.336, allocations: 0 / 1.31 GB, free: 12.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.005204/1.342, allocations: 1.816 MB / 1.312 GB, free: 10.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/1.342, allocations: 60.06 kB / 1.312 GB, free: 10.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/1.343, allocations: 0.8193 MB / 1.313 GB, free: 10.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/1.343, allocations: 41.7 kB / 1.313 GB, free: 10.03 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003848/1.344, allocations: 444.5 kB / 1.313 GB, free: 9.586 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/1.344, allocations: 264.1 kB / 1.313 GB, free: 9.324 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000334/1.344, allocations: 150.5 kB / 1.313 GB, free: 9.172 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.344, allocations: 333.9 kB / 1.314 GB, free: 8.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/1.346, allocations: 0.5395 MB / 1.314 GB, free: 8.297 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/1.347, allocations: 0.6589 MB / 1.315 GB, free: 7.609 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002955/1.35, allocations: 1.13 MB / 1.316 GB, free: 6.461 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.35, allocations: 7.938 kB / 1.316 GB, free: 6.453 MB / 1.029 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003537/1.354, allocations: 1.341 MB / 1.317 GB, free: 5.098 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/1.354, allocations: 37.69 kB / 1.317 GB, free: 5.055 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/1.354, allocations: 0 / 1.317 GB, free: 5.055 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/1.354, allocations: 4 kB / 1.317 GB, free: 5.051 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/1.356, allocations: 258.1 kB / 1.318 GB, free: 4.801 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007131/1.356, allocations: 1.199 MB / 1.319 GB, free: 3.555 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/1.358, allocations: 155.3 kB / 1.319 GB, free: 3.402 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/1.358, allocations: 31.98 kB / 1.319 GB, free: 3.371 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001834/1.36, allocations: 0.7595 MB / 1.32 GB, free: 2.609 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001535/1.361, allocations: 0.655 MB / 1.32 GB, free: 1.926 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002848/1.364, allocations: 1.127 MB / 1.321 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.125e-06/1.364, allocations: 0 / 1.321 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003493/1.367, allocations: 1.333 MB / 1.323 GB, free: 15.43 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/1.368, allocations: 37.69 kB / 1.323 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/1.368, allocations: 3.938 kB / 1.323 GB, free: 15.38 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/1.368, allocations: 4 kB / 1.323 GB, free: 15.38 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/1.369, allocations: 235.8 kB / 1.323 GB, free: 15.15 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/1.369, allocations: 4 kB / 1.323 GB, free: 15.14 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/1.37, allocations: 131.5 kB / 1.323 GB, free: 15.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.602e-05/1.37, allocations: 39.91 kB / 1.323 GB, free: 14.98 MB / 1.045 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.0003187/1.37, allocations: 220.1 kB / 1.323 GB, free: 14.75 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003205/1.371, allocations: 106.6 kB / 1.323 GB, free: 14.65 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/1.374, allocations: 1.367 MB / 1.325 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/1.374, allocations: 8 kB / 1.325 GB, free: 13.26 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.374, allocations: 0 / 1.325 GB, free: 13.26 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/1.374, allocations: 7.969 kB / 1.325 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005968/1.38, allocations: 2.855 MB / 1.328 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/1.38, allocations: 8.094 kB / 1.328 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/1.382, allocations: 227.7 kB / 1.328 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.655e-05/1.382, allocations: 7.938 kB / 1.328 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.746e-05/1.382, allocations: 27.98 kB / 1.328 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006606/1.382, allocations: 1.191 MB / 1.329 GB, free: 8.797 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/1.382, allocations: 11.88 kB / 1.329 GB, free: 8.785 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003526/1.386, allocations: 1.471 MB / 1.33 GB, free: 7.25 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007097/1.387, allocations: 307.6 kB / 1.331 GB, free: 6.93 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002774/1.387, allocations: 20 kB / 1.331 GB, free: 6.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/1.388, allocations: 111.9 kB / 1.331 GB, free: 6.801 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/1.389, allocations: 64.36 kB / 1.331 GB, free: 6.738 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.555e-05/1.389, allocations: 35.98 kB / 1.331 GB, free: 6.703 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009896/1.39, allocations: 0.5739 MB / 1.332 GB, free: 6.117 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.603e-06/1.39, allocations: 3.938 kB / 1.332 GB, free: 6.113 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00175/1.391, allocations: 0.5379 MB / 1.332 GB, free: 5.574 MB / 1.045 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.0007549/1.392, allocations: 270.3 kB / 1.332 GB, free: 5.32 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005891/1.398, allocations: 2.127 MB / 1.334 GB, free: 3.172 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.398, allocations: 0 / 1.334 GB, free: 3.172 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00182/1.4, allocations: 0.6714 MB / 1.335 GB, free: 2.496 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/1.403, allocations: 0.4971 MB / 1.336 GB, free: 2.004 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004822/1.408, allocations: 2.169 MB / 1.338 GB, free: 15.76 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007619/1.408, allocations: 1.091 MB / 1.339 GB, free: 14.64 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004883/1.409, allocations: 103.4 kB / 1.339 GB, free: 14.54 MB / 1.061 GB Notification: Performance of SimCode: time 6.91e-07/1.409, allocations: 0 / 1.339 GB, free: 14.54 MB / 1.061 GB Notification: Performance of Templates: time 0.03732/1.446, allocations: 26.74 MB / 1.365 GB, free: 3.898 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches