Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001164/0.001164, allocations: 91.3 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.008993/0.008993, allocations: 171.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.367/1.367, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.701/2.701, allocations: 462.6 MB / 0.7364 GB, free: 324 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004972/0.0004973, allocations: 12.17 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3147, allocations: 159.6 MB / 1.059 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7851/1.1, allocations: 209.2 MB / 1.263 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01047/1.11, allocations: 7.068 MB / 1.27 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/1.112, allocations: 35.31 kB / 1.27 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002347/1.114, allocations: 0.6491 MB / 1.271 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006875/1.121, allocations: 2.372 MB / 1.273 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002924/1.124, allocations: 1.051 MB / 1.274 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005145/1.129, allocations: 3.753 MB / 1.278 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/1.131, allocations: 0.9032 MB / 1.278 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004236/1.135, allocations: 1.758 MB / 1.28 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/1.138, allocations: 0.9115 MB / 1.281 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001992/1.138, allocations: 45.59 kB / 1.281 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006624/1.145, allocations: 2.793 MB / 1.284 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006737/1.145, allocations: 348.7 kB / 1.284 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001145/1.146, allocations: 0.625 MB / 1.285 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005363/1.152, allocations: 2.525 MB / 1.287 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.152, allocations: 4 kB / 1.287 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.264e-06/1.152, allocations: 0 / 1.287 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.341e-05/1.152, allocations: 1.688 kB / 1.287 GB, free: 2.25 MB / 0.9981 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.004776/1.157, allocations: 1.6 MB / 1.289 GB, free: 17.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.157, allocations: 9.812 kB / 1.289 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003404/1.16, allocations: 0.5811 MB / 1.289 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/1.162, allocations: 0.9672 MB / 1.29 GB, free: 16.92 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006599/1.163, allocations: 194.6 kB / 1.29 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/1.163, allocations: 85.95 kB / 1.291 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002898/1.166, allocations: 1.272 MB / 1.292 GB, free: 16.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/1.166, allocations: 4 kB / 1.292 GB, free: 16.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/1.166, allocations: 32.66 kB / 1.292 GB, free: 16.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.527e-05/1.166, allocations: 45.53 kB / 1.292 GB, free: 16.83 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003777/1.17, allocations: 1.619 MB / 1.293 GB, free: 16.79 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.006761/1.177, allocations: 4.089 MB / 1.297 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/1.179, allocations: 1.052 MB / 1.298 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/1.181, allocations: 0.7043 MB / 1.299 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/1.182, allocations: 0.6349 MB / 1.3 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/1.182, allocations: 38.59 kB / 1.3 GB, free: 14.48 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 2.494e-06/1.182, allocations: 1.344 kB / 1.3 GB, free: 14.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.005145/1.187, allocations: 1.929 MB / 1.302 GB, free: 14.32 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/1.187, allocations: 58.97 kB / 1.302 GB, free: 14.26 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/1.188, allocations: 0.8194 MB / 1.303 GB, free: 14.11 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001447/1.189, allocations: 42.98 kB / 1.303 GB, free: 14.08 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/1.189, allocations: 449.9 kB / 1.303 GB, free: 13.91 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/1.189, allocations: 257.2 kB / 1.303 GB, free: 13.75 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/1.189, allocations: 58.66 kB / 1.303 GB, free: 13.73 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.189, allocations: 335 kB / 1.304 GB, free: 13.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/1.191, allocations: 0.5632 MB / 1.304 GB, free: 13.41 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/1.192, allocations: 0.6938 MB / 1.305 GB, free: 13.31 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002791/1.195, allocations: 1.199 MB / 1.306 GB, free: 13.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.195, allocations: 1.344 kB / 1.306 GB, free: 13.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00351/1.198, allocations: 1.42 MB / 1.307 GB, free: 13.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/1.199, allocations: 158.3 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/1.199, allocations: 0 / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/1.199, allocations: 5.469 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/1.2, allocations: 272.1 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008001/1.201, allocations: 1.195 MB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/1.203, allocations: 196.3 kB / 1.309 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-05/1.203, allocations: 32.33 kB / 1.309 GB, free: 11.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/1.203, allocations: 5.312 kB / 1.309 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003012/1.206, allocations: 1.305 MB / 1.311 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/1.206, allocations: 3.375 kB / 1.311 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.692e-06/1.206, allocations: 2.969 kB / 1.311 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/1.207, allocations: 248.2 kB / 1.311 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/1.207, allocations: 3.312 kB / 1.311 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/1.208, allocations: 198.2 kB / 1.311 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.678e-05/1.208, allocations: 43.8 kB / 1.311 GB, free: 11.52 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.000678/1.209, allocations: 371.9 kB / 1.311 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/1.209, allocations: 103 kB / 1.311 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003316/1.213, allocations: 1.443 MB / 1.313 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.213, allocations: 10.12 kB / 1.313 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.213, allocations: 0 / 1.313 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/1.213, allocations: 3 kB / 1.313 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005142/1.218, allocations: 2.931 MB / 1.316 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/1.218, allocations: 1.875 kB / 1.316 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.219, allocations: 252.8 kB / 1.316 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/1.219, allocations: 11.97 kB / 1.316 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.536e-05/1.219, allocations: 27.09 kB / 1.316 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005257/1.22, allocations: 1.192 MB / 1.317 GB, free: 9.473 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.22, allocations: 5.062 kB / 1.317 GB, free: 9.473 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003115/1.223, allocations: 1.543 MB / 1.319 GB, free: 9.102 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005136/1.223, allocations: 309 kB / 1.319 GB, free: 8.945 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/1.223, allocations: 22.38 kB / 1.319 GB, free: 8.945 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/1.225, allocations: 164.1 kB / 1.319 GB, free: 8.926 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/1.225, allocations: 59.11 kB / 1.319 GB, free: 8.922 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/1.225, allocations: 40.92 kB / 1.319 GB, free: 8.922 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006923/1.226, allocations: 0.5687 MB / 1.32 GB, free: 8.812 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.31e-07/1.226, allocations: 0 / 1.32 GB, free: 8.812 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001301/1.227, allocations: 0.5327 MB / 1.32 GB, free: 8.754 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.000551/1.227, allocations: 275.4 kB / 1.321 GB, free: 8.625 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005389/1.233, allocations: 2.13 MB / 1.323 GB, free: 8.434 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.233, allocations: 7 kB / 1.323 GB, free: 8.43 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001665/1.235, allocations: 0.7034 MB / 1.323 GB, free: 8.41 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/1.238, allocations: 0.5141 MB / 1.324 GB, free: 8.363 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004857/1.243, allocations: 2.567 MB / 1.326 GB, free: 7.133 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007522/1.244, allocations: 1.094 MB / 1.327 GB, free: 6.414 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001911/1.245, allocations: 394.2 kB / 1.328 GB, free: 6.324 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/1.246, allocations: 87.98 kB / 1.328 GB, free: 6.316 MB / 1.014 GB Notification: Performance of SimCode: time 9.62e-07/1.246, allocations: 0 / 1.328 GB, free: 6.316 MB / 1.014 GB Notification: Performance of Templates: time 0.03366/1.279, allocations: 20.24 MB / 1.348 GB, free: 14.52 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches