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.0008337/0.0008338, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001058/0.001058, allocations: 177.2 kB / 16.27 MB, free: 6.672 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.326/1.326, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.662/2.662, allocations: 462.6 MB / 0.7363 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 7.812 kB / 0.9027 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2963, allocations: 159.6 MB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.8055/1.102, allocations: 209.2 MB / 1.263 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009665/1.112, allocations: 7.071 MB / 1.27 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/1.113, allocations: 37.66 kB / 1.27 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001903/1.115, allocations: 0.6551 MB / 1.27 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006641/1.122, allocations: 2.362 MB / 1.273 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003506/1.125, allocations: 1.051 MB / 1.274 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005773/1.131, allocations: 3.753 MB / 1.277 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/1.133, allocations: 0.9022 MB / 1.278 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004812/1.138, allocations: 1.76 MB / 1.28 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002911/1.141, allocations: 0.9141 MB / 1.281 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002961/1.141, allocations: 46 kB / 1.281 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006525/1.148, allocations: 2.8 MB / 1.284 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007459/1.148, allocations: 350.5 kB / 1.284 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00123/1.15, allocations: 0.6247 MB / 1.285 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005295/1.155, allocations: 2.521 MB / 1.287 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.155, allocations: 1.281 kB / 1.287 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.307e-06/1.155, allocations: 0 / 1.287 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.906e-05/1.155, allocations: 0 / 1.287 GB, free: 2.121 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.005061/1.16, allocations: 1.603 MB / 1.289 GB, free: 17.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/1.16, allocations: 12.88 kB / 1.289 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003407/1.164, allocations: 0.5823 MB / 1.289 GB, free: 17.13 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/1.166, allocations: 0.9658 MB / 1.29 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006619/1.166, allocations: 202 kB / 1.29 GB, free: 16.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/1.166, allocations: 85.25 kB / 1.291 GB, free: 16.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002892/1.169, allocations: 1.266 MB / 1.292 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/1.169, allocations: 0 / 1.292 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/1.169, allocations: 34.92 kB / 1.292 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.779e-05/1.17, allocations: 48.55 kB / 1.292 GB, free: 16.69 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003782/1.173, allocations: 1.62 MB / 1.293 GB, free: 16.66 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.006633/1.18, allocations: 4.091 MB / 1.297 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/1.183, allocations: 1.051 MB / 1.298 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/1.184, allocations: 0.6992 MB / 1.299 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/1.185, allocations: 0.6384 MB / 1.3 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/1.185, allocations: 48.31 kB / 1.3 GB, free: 14.34 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 2.906e-06/1.185, allocations: 0 / 1.3 GB, free: 14.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.005115/1.19, allocations: 1.923 MB / 1.302 GB, free: 14.19 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.049e-05/1.19, allocations: 59.03 kB / 1.302 GB, free: 14.13 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/1.192, allocations: 0.8195 MB / 1.303 GB, free: 13.98 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/1.192, allocations: 41.52 kB / 1.303 GB, free: 13.95 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/1.192, allocations: 453.3 kB / 1.303 GB, free: 13.78 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/1.193, allocations: 252.4 kB / 1.303 GB, free: 13.62 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/1.193, allocations: 62.39 kB / 1.303 GB, free: 13.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.193, allocations: 336.8 kB / 1.304 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/1.194, allocations: 0.5622 MB / 1.304 GB, free: 13.28 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/1.196, allocations: 0.682 MB / 1.305 GB, free: 13.18 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002893/1.199, allocations: 1.204 MB / 1.306 GB, free: 13.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/1.199, allocations: 5.062 kB / 1.306 GB, free: 13.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003442/1.202, allocations: 1.419 MB / 1.307 GB, free: 12.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/1.202, allocations: 148 kB / 1.308 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.202, allocations: 2.906 kB / 1.308 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/1.202, allocations: 5.344 kB / 1.308 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/1.204, allocations: 280.2 kB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007813/1.205, allocations: 1.191 MB / 1.309 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/1.206, allocations: 199.9 kB / 1.309 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/1.206, allocations: 37.8 kB / 1.309 GB, free: 11.52 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/1.206, allocations: 5.875 kB / 1.309 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003087/1.209, allocations: 1.302 MB / 1.31 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.209, allocations: 2.656 kB / 1.31 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/1.209, allocations: 6.594 kB / 1.311 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/1.211, allocations: 249.2 kB / 1.311 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/1.211, allocations: 3.375 kB / 1.311 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/1.212, allocations: 192.5 kB / 1.311 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.565e-05/1.212, allocations: 31.78 kB / 1.311 GB, free: 11.38 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.0007224/1.213, allocations: 373.2 kB / 1.311 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/1.213, allocations: 107.5 kB / 1.311 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003513/1.217, allocations: 1.439 MB / 1.313 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.217, allocations: 9.375 kB / 1.313 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.217, allocations: 3.984 kB / 1.313 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/1.217, allocations: 2.906 kB / 1.313 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005889/1.223, allocations: 2.936 MB / 1.316 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/1.223, allocations: 5.062 kB / 1.316 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/1.224, allocations: 254.3 kB / 1.316 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.475e-05/1.224, allocations: 5.344 kB / 1.316 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.432e-05/1.224, allocations: 20.03 kB / 1.316 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00064/1.225, allocations: 1.195 MB / 1.317 GB, free: 9.332 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.225, allocations: 5.906 kB / 1.317 GB, free: 9.332 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003513/1.228, allocations: 1.539 MB / 1.319 GB, free: 8.965 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007195/1.229, allocations: 315.7 kB / 1.319 GB, free: 8.805 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002633/1.229, allocations: 16.44 kB / 1.319 GB, free: 8.805 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/1.231, allocations: 162.3 kB / 1.319 GB, free: 8.789 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/1.231, allocations: 61.97 kB / 1.319 GB, free: 8.785 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.012e-05/1.231, allocations: 40.88 kB / 1.319 GB, free: 8.785 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008335/1.232, allocations: 0.571 MB / 1.32 GB, free: 8.672 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.162e-06/1.232, allocations: 0 / 1.32 GB, free: 8.672 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00172/1.234, allocations: 0.5341 MB / 1.32 GB, free: 8.613 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.0006771/1.234, allocations: 263.7 kB / 1.321 GB, free: 8.488 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005789/1.24, allocations: 2.133 MB / 1.323 GB, free: 8.297 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.24, allocations: 0 / 1.323 GB, free: 8.297 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002313/1.242, allocations: 0.7123 MB / 1.323 GB, free: 8.277 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005847/1.248, allocations: 0.5226 MB / 1.324 GB, free: 8.223 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008307/1.257, allocations: 2.554 MB / 1.326 GB, free: 7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/1.258, allocations: 1.097 MB / 1.327 GB, free: 6.281 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003454/1.261, allocations: 387.3 kB / 1.328 GB, free: 6.195 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005651/1.262, allocations: 89.3 kB / 1.328 GB, free: 6.188 MB / 1.014 GB Notification: Performance of SimCode: time 1.322e-06/1.262, allocations: 3.281 kB / 1.328 GB, free: 6.188 MB / 1.014 GB Notification: Performance of Templates: time 0.05705/1.319, allocations: 20.22 MB / 1.348 GB, free: 14.39 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