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.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.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.0009949/0.000995, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001106/0.001106, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 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.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.748/2.748, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003352, allocations: 14.25 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2714, allocations: 159.6 MB / 1.058 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.1934/0.4648, allocations: 195.2 MB / 1.249 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5449/1.01, allocations: 6.609 MB / 1.255 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/1.011, allocations: 34.91 kB / 1.255 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/1.012, allocations: 0.5068 MB / 1.256 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004355/1.017, allocations: 1.797 MB / 1.257 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002624/1.019, allocations: 0.9082 MB / 1.258 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003728/1.023, allocations: 3.196 MB / 1.261 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/1.024, allocations: 0.7956 MB / 1.262 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003245/1.028, allocations: 1.527 MB / 1.264 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/1.029, allocations: 0.8691 MB / 1.265 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001369/1.029, allocations: 50.34 kB / 1.265 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003924/1.033, allocations: 1.535 MB / 1.266 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005544/1.034, allocations: 347.3 kB / 1.266 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008706/1.035, allocations: 272.2 kB / 1.267 GB, free: 22.61 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003174/1.038, allocations: 1.705 MB / 1.268 GB, free: 22.48 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/1.038, allocations: 0.7188 kB / 1.268 GB, free: 22.48 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.044e-06/1.038, allocations: 0 / 1.268 GB, free: 22.48 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.884e-05/1.038, allocations: 0 / 1.268 GB, free: 22.48 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.004395/1.042, allocations: 1.615 MB / 1.27 GB, free: 21.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/1.042, allocations: 9.438 kB / 1.27 GB, free: 21.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003368/1.046, allocations: 0.581 MB / 1.27 GB, free: 21.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/1.048, allocations: 0.9305 MB / 1.271 GB, free: 21.19 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005958/1.048, allocations: 201.1 kB / 1.272 GB, free: 21.17 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/1.048, allocations: 82.86 kB / 1.272 GB, free: 21.17 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/1.051, allocations: 1.264 MB / 1.273 GB, free: 21.1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/1.051, allocations: 1.281 kB / 1.273 GB, free: 21.1 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/1.051, allocations: 33.03 kB / 1.273 GB, free: 21.1 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.475e-05/1.052, allocations: 48.58 kB / 1.273 GB, free: 21.1 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004355/1.056, allocations: 1.614 MB / 1.275 GB, free: 21.06 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.006319/1.062, allocations: 4.082 MB / 1.279 GB, free: 19.45 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/1.065, allocations: 1.048 MB / 1.28 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/1.066, allocations: 0.7001 MB / 1.28 GB, free: 19.36 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001134/1.067, allocations: 0.6439 MB / 1.281 GB, free: 18.79 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/1.067, allocations: 44.44 kB / 1.281 GB, free: 18.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 2.425e-06/1.067, allocations: 0 / 1.281 GB, free: 18.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.004777/1.072, allocations: 1.911 MB / 1.283 GB, free: 18.61 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/1.072, allocations: 61 kB / 1.283 GB, free: 18.55 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/1.073, allocations: 0.8152 MB / 1.284 GB, free: 18.4 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/1.073, allocations: 42.61 kB / 1.284 GB, free: 18.37 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/1.074, allocations: 449.8 kB / 1.284 GB, free: 18.19 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/1.074, allocations: 262.6 kB / 1.284 GB, free: 18.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/1.074, allocations: 15.41 kB / 1.284 GB, free: 18.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.074, allocations: 328.6 kB / 1.285 GB, free: 17.72 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/1.075, allocations: 0.5591 MB / 1.285 GB, free: 17.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/1.077, allocations: 0.6816 MB / 1.286 GB, free: 17.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/1.078, allocations: 0.6152 MB / 1.286 GB, free: 17.54 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.078, allocations: 0 / 1.286 GB, free: 17.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003221/1.082, allocations: 1.405 MB / 1.288 GB, free: 17.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.722e-05/1.082, allocations: 139.9 kB / 1.288 GB, free: 17.24 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/1.082, allocations: 5.406 kB / 1.288 GB, free: 17.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/1.082, allocations: 4.094 kB / 1.288 GB, free: 17.24 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/1.083, allocations: 286.3 kB / 1.288 GB, free: 17.22 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006899/1.084, allocations: 1.189 MB / 1.289 GB, free: 16.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/1.085, allocations: 194.1 kB / 1.29 GB, free: 16.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.085, allocations: 36.8 kB / 1.29 GB, free: 16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.667e-06/1.085, allocations: 6.375 kB / 1.29 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002987/1.088, allocations: 1.302 MB / 1.291 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.088, allocations: 4.062 kB / 1.291 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/1.088, allocations: 4.531 kB / 1.291 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/1.09, allocations: 241.2 kB / 1.291 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/1.09, allocations: 8.906 kB / 1.291 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/1.091, allocations: 192.1 kB / 1.291 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-05/1.091, allocations: 36.77 kB / 1.291 GB, free: 15.87 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.i1_w,hex.i2_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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000624/1.092, allocations: 373.1 kB / 1.292 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/1.092, allocations: 106.2 kB / 1.292 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003366/1.095, allocations: 1.43 MB / 1.293 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.095, allocations: 14.41 kB / 1.293 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.095, allocations: 1.469 kB / 1.293 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/1.095, allocations: 3 kB / 1.293 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005401/1.101, allocations: 2.924 MB / 1.296 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/1.101, allocations: 7.172 kB / 1.296 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/1.102, allocations: 251.6 kB / 1.296 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/1.102, allocations: 7.625 kB / 1.296 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.017e-05/1.102, allocations: 24.83 kB / 1.296 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005945/1.103, allocations: 1.203 MB / 1.298 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.103, allocations: 4.875 kB / 1.298 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003154/1.106, allocations: 1.526 MB / 1.299 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006881/1.107, allocations: 316.6 kB / 1.299 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/1.107, allocations: 17 kB / 1.299 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.108, allocations: 163.8 kB / 1.3 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/1.108, allocations: 65.23 kB / 1.3 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-05/1.108, allocations: 36.02 kB / 1.3 GB, free: 13.27 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008331/1.109, allocations: 0.5619 MB / 1.3 GB, free: 13.16 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.92e-07/1.109, allocations: 1.469 kB / 1.3 GB, free: 13.16 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001699/1.111, allocations: 0.5318 MB / 1.301 GB, free: 13.11 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006359/1.112, allocations: 274.3 kB / 1.301 GB, free: 12.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004758/1.116, allocations: 2.124 MB / 1.303 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/1.116, allocations: 0 / 1.303 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001536/1.118, allocations: 0.7032 MB / 1.304 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/1.12, allocations: 0.5331 MB / 1.304 GB, free: 12.71 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/1.124, allocations: 2.471 MB / 1.307 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/1.125, allocations: 1.091 MB / 1.308 GB, free: 10.86 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001607/1.127, allocations: 398.7 kB / 1.308 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/1.127, allocations: 86.64 kB / 1.308 GB, free: 10.77 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/1.127, allocations: 3.219 kB / 1.308 GB, free: 10.77 MB / 1.014 GB Notification: Performance of Templates: time 0.0292/1.156, allocations: 19.64 MB / 1.327 GB, free: 5.371 MB / 1.014 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches