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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001347/0.001347, allocations: 105.7 kB / 16.37 MB, free: 6.309 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.001425/0.001425, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.494/2.494, allocations: 442.6 MB / 0.7166 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.2 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3062, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7472/1.053, allocations: 214.2 MB / 1.236 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01198/1.066, allocations: 7.032 MB / 1.243 GB, free: 76 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002208/1.068, allocations: 43.75 kB / 1.243 GB, free: 32 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002542/1.07, allocations: 0.7843 MB / 1.244 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.007/1.077, allocations: 2.528 MB / 1.246 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003302/1.081, allocations: 1.163 MB / 1.247 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004564/1.085, allocations: 2.817 MB / 1.25 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/1.087, allocations: 1.098 MB / 1.251 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004756/1.092, allocations: 1.993 MB / 1.253 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002318/1.094, allocations: 0.9419 MB / 1.254 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004012/1.095, allocations: 120 kB / 1.254 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004787/1.1, allocations: 2.444 MB / 1.256 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0007767/1.1, allocations: 434.7 kB / 1.257 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001652/1.102, allocations: 0.6843 MB / 1.258 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006031/1.108, allocations: 2.489 MB / 1.26 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.108, allocations: 0 / 1.26 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.954e-06/1.108, allocations: 0 / 1.26 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.264e-05/1.108, allocations: 0 / 1.26 GB, free: 14.5 MB / 0.9669 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.005294/1.114, allocations: 1.846 MB / 1.262 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/1.114, allocations: 8.031 kB / 1.262 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003146/1.117, allocations: 0.537 MB / 1.262 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/1.119, allocations: 1.003 MB / 1.263 GB, free: 11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.902e-05/1.119, allocations: 65.98 kB / 1.263 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/1.119, allocations: 84 kB / 1.263 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002846/1.122, allocations: 1.225 MB / 1.265 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/1.122, allocations: 3.938 kB / 1.265 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/1.122, allocations: 28 kB / 1.265 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.642e-05/1.122, allocations: 49.98 kB / 1.265 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003716/1.126, allocations: 1.526 MB / 1.266 GB, free: 8.016 MB / 0.9669 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.00659/1.133, allocations: 4.045 MB / 1.27 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002413/1.135, allocations: 0.9585 MB / 1.271 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/1.136, allocations: 0.6552 MB / 1.272 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/1.138, allocations: 0.6125 MB / 1.272 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/1.138, allocations: 43.22 kB / 1.272 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 4.429e-06/1.138, allocations: 0 / 1.272 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.004921/1.143, allocations: 1.792 MB / 1.274 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/1.143, allocations: 56.06 kB / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/1.144, allocations: 0.8232 MB / 1.275 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/1.144, allocations: 49.7 kB / 1.275 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/1.144, allocations: 436.5 kB / 1.275 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/1.144, allocations: 260.2 kB / 1.276 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003023/1.145, allocations: 154.5 kB / 1.276 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001114/1.145, allocations: 334 kB / 1.276 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/1.146, allocations: 0.5316 MB / 1.277 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/1.148, allocations: 0.6433 MB / 1.277 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002779/1.151, allocations: 1.119 MB / 1.278 GB, free: 11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.151, allocations: 4 kB / 1.278 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003421/1.154, allocations: 1.321 MB / 1.28 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.971e-05/1.154, allocations: 40.36 kB / 1.28 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/1.154, allocations: 3.984 kB / 1.28 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/1.154, allocations: 4 kB / 1.28 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/1.156, allocations: 257.2 kB / 1.28 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006694/1.156, allocations: 1.195 MB / 1.281 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/1.157, allocations: 139.4 kB / 1.281 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.563e-05/1.158, allocations: 31.98 kB / 1.281 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001712/1.159, allocations: 0.7575 MB / 1.282 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001468/1.161, allocations: 0.6434 MB / 1.283 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002702/1.163, allocations: 1.103 MB / 1.284 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.55e-06/1.163, allocations: 3.984 kB / 1.284 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003289/1.167, allocations: 1.325 MB / 1.285 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/1.167, allocations: 37.7 kB / 1.285 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/1.167, allocations: 0 / 1.285 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/1.167, allocations: 8 kB / 1.285 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/1.168, allocations: 223.7 kB / 1.285 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.168, allocations: 4 kB / 1.285 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/1.169, allocations: 127.5 kB / 1.285 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.033e-05/1.169, allocations: 27.98 kB / 1.285 GB, free: 3.617 MB / 0.9825 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.0002773/1.169, allocations: 236 kB / 1.286 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/1.17, allocations: 106.7 kB / 1.286 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/1.173, allocations: 1.34 MB / 1.287 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/1.173, allocations: 3.984 kB / 1.287 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.173, allocations: 4 kB / 1.287 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005213/1.174, allocations: 303.6 kB / 1.287 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/1.174, allocations: 16 kB / 1.287 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/1.175, allocations: 99.88 kB / 1.287 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/1.175, allocations: 48.59 kB / 1.288 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003804/1.179, allocations: 1.357 MB / 1.289 GB, free: 72 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004723/1.184, allocations: 2.098 MB / 1.291 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001381/1.185, allocations: 0.5634 MB / 1.291 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008274/1.186, allocations: 0.5778 MB / 1.292 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of Backend: time 5.91e-07/1.186, allocations: 0 / 1.292 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005827/1.192, allocations: 2.018 MB / 1.294 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of SimCode: time 0.003725/1.196, allocations: 2.275 MB / 1.296 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of Templates: time 0.04595/1.242, allocations: 29.89 MB / 1.325 GB, free: 10.74 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches