Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007611/0.007611, allocations: 99.11 kB / 15.73 MB, free: 6.035 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.001635/0.001635, allocations: 193.4 kB / 16.67 MB, free: 5.961 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.514/1.514, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 472.6 MB / 0.7453 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 59.91 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3517, allocations: 159.9 MB / 1.226 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.7045/1.056, allocations: 53.76 MB / 1.278 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02996/1.086, allocations: 16.99 MB / 1.295 GB, free: 4.07 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003536/1.09, allocations: 90.88 kB / 1.295 GB, free: 4.039 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006477/1.096, allocations: 1.923 MB / 1.297 GB, free: 3.16 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0083/1.105, allocations: 2.509 MB / 1.299 GB, free: 1.703 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007511/1.112, allocations: 2.349 MB / 1.301 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01346/1.126, allocations: 7.541 MB / 1.309 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003485/1.129, allocations: 1.663 MB / 1.31 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005529/1.135, allocations: 1.917 MB / 1.312 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003489/1.138, allocations: 1.423 MB / 1.314 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0009896/1.139, allocations: 178.1 kB / 1.314 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0061/1.145, allocations: 2.024 MB / 1.316 GB, free: 10.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00126/1.147, allocations: 0.6647 MB / 1.316 GB, free: 10.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003002/1.15, allocations: 1.222 MB / 1.318 GB, free: 9.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008816/1.158, allocations: 3.943 MB / 1.322 GB, free: 7.918 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.158, allocations: 3.938 kB / 1.322 GB, free: 7.914 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.384e-06/1.158, allocations: 4.641 kB / 1.322 GB, free: 7.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001285/1.159, allocations: 1.5 kB / 1.322 GB, free: 7.91 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.007407/1.166, allocations: 3.043 MB / 1.324 GB, free: 5.883 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/1.166, allocations: 12.92 kB / 1.325 GB, free: 5.879 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0028/1.169, allocations: 0.5644 MB / 1.325 GB, free: 5.711 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005678/1.175, allocations: 2.749 MB / 1.328 GB, free: 4.301 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-05/1.175, allocations: 95.95 kB / 1.328 GB, free: 4.254 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/1.175, allocations: 121 kB / 1.328 GB, free: 4.219 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/1.178, allocations: 1.363 MB / 1.329 GB, free: 3.551 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/1.178, allocations: 5.875 kB / 1.329 GB, free: 3.547 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/1.178, allocations: 51.67 kB / 1.329 GB, free: 3.508 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.077e-05/1.178, allocations: 41.66 kB / 1.329 GB, free: 3.504 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00289/1.181, allocations: 1.099 MB / 1.33 GB, free: 3.137 MB / 1.029 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.01179/1.193, allocations: 7.475 MB / 1.338 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002566/1.195, allocations: 1.344 MB / 1.339 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/1.196, allocations: 430.5 kB / 1.339 GB, free: 11.97 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005822/1.202, allocations: 3.173 MB / 1.343 GB, free: 9.027 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/1.203, allocations: 420.6 kB / 1.343 GB, free: 8.785 MB / 1.045 GB Notification: Performance of pre-optimization done (n=59): time 3.937e-06/1.203, allocations: 4 kB / 1.343 GB, free: 8.781 MB / 1.045 GB Notification: Performance of matching and sorting (n=59): time 0.003344/1.207, allocations: 1.261 MB / 1.344 GB, free: 8.094 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/1.207, allocations: 58 kB / 1.344 GB, free: 8.031 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003387/1.21, allocations: 2.125 MB / 1.346 GB, free: 6.879 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/1.21, allocations: 43.14 kB / 1.346 GB, free: 6.836 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009516/1.211, allocations: 1.031 MB / 1.347 GB, free: 5.93 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003172/1.211, allocations: 226.7 kB / 1.348 GB, free: 5.734 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000461/1.212, allocations: 323.5 kB / 1.348 GB, free: 5.543 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.84e-05/1.212, allocations: 302.3 kB / 1.348 GB, free: 5.246 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/1.213, allocations: 0.5441 MB / 1.349 GB, free: 4.977 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/1.215, allocations: 0.9923 MB / 1.35 GB, free: 4.145 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/1.217, allocations: 1.451 MB / 1.351 GB, free: 3.109 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/1.217, allocations: 4.938 kB / 1.351 GB, free: 3.109 MB / 1.045 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.00369/1.221, allocations: 1.779 MB / 1.353 GB, free: 2.211 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/1.221, allocations: 37.98 kB / 1.353 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/1.221, allocations: 15.41 kB / 1.353 GB, free: 2.176 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.267e-05/1.221, allocations: 18.28 kB / 1.353 GB, free: 2.176 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/1.222, allocations: 304.2 kB / 1.353 GB, free: 2.105 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.054e-05/1.222, allocations: 31.42 kB / 1.353 GB, free: 2.094 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/1.224, allocations: 185 kB / 1.353 GB, free: 1.98 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/1.224, allocations: 68.11 kB / 1.353 GB, free: 1.961 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002043/1.226, allocations: 0.9631 MB / 1.354 GB, free: 1.418 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001556/1.228, allocations: 0.9958 MB / 1.355 GB, free: 0.582 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002609/1.231, allocations: 1.449 MB / 1.357 GB, free: 15.54 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.997e-06/1.231, allocations: 3.875 kB / 1.357 GB, free: 15.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003809/1.235, allocations: 1.775 MB / 1.359 GB, free: 14.65 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/1.235, allocations: 40.98 kB / 1.359 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/1.235, allocations: 11 kB / 1.359 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/1.235, allocations: 19.31 kB / 1.359 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/1.236, allocations: 308.4 kB / 1.359 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.533e-05/1.236, allocations: 26.11 kB / 1.359 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/1.238, allocations: 158.8 kB / 1.359 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/1.238, allocations: 63.77 kB / 1.359 GB, free: 14.43 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000384/1.238, allocations: 264.4 kB / 1.359 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003653/1.238, allocations: 217.7 kB / 1.36 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002913/1.241, allocations: 1.121 MB / 1.361 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/1.241, allocations: 7.969 kB / 1.361 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.241, allocations: 3.938 kB / 1.361 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002049/1.243, allocations: 0.9631 MB / 1.362 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005764/1.249, allocations: 2.62 MB / 1.364 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/1.249, allocations: 0 / 1.364 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007372/1.25, allocations: 146.5 kB / 1.364 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002041/1.25, allocations: 28.44 kB / 1.364 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.707e-05/1.25, allocations: 22.95 kB / 1.364 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/1.252, allocations: 1.42 MB / 1.366 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.252, allocations: 3.984 kB / 1.366 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003785/1.255, allocations: 1.578 MB / 1.367 GB, free: 8.688 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/1.257, allocations: 409.6 kB / 1.368 GB, free: 8.352 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/1.257, allocations: 21.58 kB / 1.368 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/1.258, allocations: 63.59 kB / 1.368 GB, free: 8.309 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/1.258, allocations: 56.67 kB / 1.368 GB, free: 8.273 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-05/1.258, allocations: 26.67 kB / 1.368 GB, free: 8.266 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002472/1.261, allocations: 1.482 MB / 1.369 GB, free: 7.465 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.71e-07/1.261, allocations: 0 / 1.369 GB, free: 7.465 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003557/1.264, allocations: 1.034 MB / 1.37 GB, free: 7.242 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002221/1.266, allocations: 0.8876 MB / 1.371 GB, free: 6.805 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004344/1.271, allocations: 2.093 MB / 1.373 GB, free: 5.391 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.271, allocations: 4 kB / 1.373 GB, free: 5.387 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/1.272, allocations: 0.5334 MB / 1.374 GB, free: 4.844 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004237/1.276, allocations: 0.9611 MB / 1.375 GB, free: 3.906 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006458/1.283, allocations: 3.682 MB / 1.378 GB, free: 188 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/1.284, allocations: 1.546 MB / 1.38 GB, free: 14.6 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001981/1.286, allocations: 0.5164 MB / 1.38 GB, free: 14.08 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004544/1.287, allocations: 171.4 kB / 1.38 GB, free: 13.91 MB / 1.076 GB Notification: Performance of SimCode: time 8.12e-07/1.287, allocations: 0 / 1.38 GB, free: 13.91 MB / 1.076 GB Notification: Performance of Templates: time 0.06437/1.351, allocations: 39.58 MB / 1.419 GB, free: 6.816 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches