Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 108.4 kB / 16.41 MB, free: 6.457 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.001694/0.001694, allocations: 187 kB / 17.34 MB, free: 5.719 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.37/2.37, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 68.08 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8737/0.8752, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2641/1.139, allocations: 214.2 MB / 1.298 GB, free: 7.344 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01167/1.151, allocations: 7.045 MB / 1.305 GB, free: 292 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/1.153, allocations: 43.75 kB / 1.305 GB, free: 248 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002539/1.156, allocations: 0.7804 MB / 1.305 GB, free: 15.46 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007642/1.163, allocations: 2.52 MB / 1.308 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003706/1.167, allocations: 1.175 MB / 1.309 GB, free: 11.77 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004715/1.172, allocations: 2.821 MB / 1.312 GB, free: 8.934 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002127/1.174, allocations: 1.091 MB / 1.313 GB, free: 7.824 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00493/1.179, allocations: 2.012 MB / 1.315 GB, free: 5.805 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002549/1.182, allocations: 0.9429 MB / 1.316 GB, free: 4.863 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004501/1.182, allocations: 116 kB / 1.316 GB, free: 4.75 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005355/1.187, allocations: 2.448 MB / 1.318 GB, free: 2.297 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007791/1.188, allocations: 426.7 kB / 1.319 GB, free: 1.879 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001532/1.19, allocations: 0.6881 MB / 1.319 GB, free: 1.188 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00579/1.196, allocations: 2.485 MB / 1.322 GB, free: 14.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.196, allocations: 0 / 1.322 GB, free: 14.7 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.945e-06/1.196, allocations: 0 / 1.322 GB, free: 14.7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.44e-05/1.196, allocations: 8 kB / 1.322 GB, free: 14.69 MB / 1.061 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.005845/1.202, allocations: 1.847 MB / 1.324 GB, free: 12.78 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/1.202, allocations: 12.03 kB / 1.324 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00338/1.205, allocations: 0.533 MB / 1.324 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/1.207, allocations: 1.003 MB / 1.325 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.88e-05/1.207, allocations: 65.98 kB / 1.325 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/1.207, allocations: 80 kB / 1.325 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002924/1.21, allocations: 1.225 MB / 1.326 GB, free: 9.809 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/1.21, allocations: 0 / 1.326 GB, free: 9.809 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/1.211, allocations: 32 kB / 1.326 GB, free: 9.777 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.834e-05/1.211, allocations: 45.98 kB / 1.327 GB, free: 9.734 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003717/1.214, allocations: 1.534 MB / 1.328 GB, free: 8.199 MB / 1.061 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.006743/1.221, allocations: 4.041 MB / 1.332 GB, free: 3.883 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/1.224, allocations: 0.9686 MB / 1.333 GB, free: 2.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/1.225, allocations: 0.6591 MB / 1.334 GB, free: 2.246 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/1.226, allocations: 0.6087 MB / 1.334 GB, free: 1.527 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/1.226, allocations: 43.2 kB / 1.334 GB, free: 1.477 MB / 1.061 GB Notification: Performance of pre-optimization done (n=76): time 2.785e-06/1.226, allocations: 0 / 1.334 GB, free: 1.477 MB / 1.061 GB Notification: Performance of matching and sorting (n=76): time 0.004899/1.231, allocations: 1.789 MB / 1.336 GB, free: 15.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/1.231, allocations: 60.06 kB / 1.336 GB, free: 15.61 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/1.232, allocations: 0.8193 MB / 1.337 GB, free: 14.77 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/1.232, allocations: 41.7 kB / 1.337 GB, free: 14.72 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/1.233, allocations: 444.5 kB / 1.337 GB, free: 14.28 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/1.233, allocations: 264.1 kB / 1.338 GB, free: 14.02 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002973/1.233, allocations: 154.5 kB / 1.338 GB, free: 13.86 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.234, allocations: 333.9 kB / 1.338 GB, free: 13.53 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/1.235, allocations: 0.5239 MB / 1.339 GB, free: 13 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/1.236, allocations: 0.6472 MB / 1.339 GB, free: 12.32 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002775/1.239, allocations: 1.119 MB / 1.34 GB, free: 11.18 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.239, allocations: 0 / 1.34 GB, free: 11.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003416/1.243, allocations: 1.321 MB / 1.342 GB, free: 9.844 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.303e-05/1.243, allocations: 37.69 kB / 1.342 GB, free: 9.801 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.243, allocations: 4 kB / 1.342 GB, free: 9.797 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/1.243, allocations: 4 kB / 1.342 GB, free: 9.793 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/1.244, allocations: 259.7 kB / 1.342 GB, free: 9.539 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007603/1.245, allocations: 1.191 MB / 1.343 GB, free: 8.301 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/1.246, allocations: 147.3 kB / 1.343 GB, free: 8.156 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-05/1.246, allocations: 35.97 kB / 1.343 GB, free: 8.121 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001758/1.248, allocations: 0.7478 MB / 1.344 GB, free: 7.371 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001471/1.25, allocations: 0.6395 MB / 1.345 GB, free: 6.703 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00274/1.252, allocations: 1.115 MB / 1.346 GB, free: 5.57 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/1.252, allocations: 0 / 1.346 GB, free: 5.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003326/1.256, allocations: 1.321 MB / 1.347 GB, free: 4.234 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/1.256, allocations: 33.7 kB / 1.347 GB, free: 4.195 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.256, allocations: 3.984 kB / 1.347 GB, free: 4.191 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/1.256, allocations: 4 kB / 1.347 GB, free: 4.188 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.257, allocations: 223.8 kB / 1.347 GB, free: 3.969 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/1.257, allocations: 4 kB / 1.347 GB, free: 3.965 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/1.258, allocations: 123.5 kB / 1.347 GB, free: 3.844 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.624e-05/1.258, allocations: 35.97 kB / 1.347 GB, free: 3.809 MB / 1.076 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.0003091/1.259, allocations: 228.1 kB / 1.348 GB, free: 3.578 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/1.259, allocations: 114.6 kB / 1.348 GB, free: 3.465 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003476/1.262, allocations: 1.34 MB / 1.349 GB, free: 2.113 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/1.262, allocations: 8 kB / 1.349 GB, free: 2.105 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.262, allocations: 0 / 1.349 GB, free: 2.105 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/1.262, allocations: 3.984 kB / 1.349 GB, free: 2.102 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005931/1.268, allocations: 2.843 MB / 1.352 GB, free: 15.15 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/1.268, allocations: 7.938 kB / 1.352 GB, free: 15.14 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/1.27, allocations: 227.9 kB / 1.352 GB, free: 14.92 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/1.27, allocations: 8 kB / 1.352 GB, free: 14.91 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.231e-05/1.27, allocations: 27.92 kB / 1.352 GB, free: 14.88 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006618/1.27, allocations: 1.192 MB / 1.353 GB, free: 13.64 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.27, allocations: 4 kB / 1.353 GB, free: 13.64 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003378/1.274, allocations: 1.447 MB / 1.355 GB, free: 12.13 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005909/1.274, allocations: 307.6 kB / 1.355 GB, free: 11.81 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/1.275, allocations: 19.94 kB / 1.355 GB, free: 11.79 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/1.276, allocations: 107.9 kB / 1.355 GB, free: 11.68 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/1.276, allocations: 60.42 kB / 1.355 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/1.276, allocations: 35.92 kB / 1.355 GB, free: 11.59 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008854/1.277, allocations: 0.5739 MB / 1.356 GB, free: 11 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.9e-07/1.277, allocations: 4 kB / 1.356 GB, free: 11 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001591/1.279, allocations: 0.5341 MB / 1.356 GB, free: 10.46 MB / 1.092 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.0006952/1.279, allocations: 274.1 kB / 1.356 GB, free: 10.21 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005487/1.285, allocations: 2.014 MB / 1.358 GB, free: 8.168 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/1.285, allocations: 0 / 1.358 GB, free: 8.168 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/1.287, allocations: 0.6636 MB / 1.359 GB, free: 7.504 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/1.289, allocations: 0.4993 MB / 1.36 GB, free: 7.008 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004688/1.294, allocations: 2.102 MB / 1.362 GB, free: 4.824 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000793/1.295, allocations: 1.094 MB / 1.363 GB, free: 3.699 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005406/1.295, allocations: 99.39 kB / 1.363 GB, free: 3.602 MB / 1.092 GB Notification: Performance of SimCode: time 6.01e-07/1.295, allocations: 0 / 1.363 GB, free: 3.602 MB / 1.092 GB Notification: Performance of Templates: time 0.03681/1.332, allocations: 26.83 MB / 1.389 GB, free: 8.875 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches