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 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.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.004803/0.004803, allocations: 97.98 kB / 15.73 MB, free: 6.051 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.001088/0.001088, allocations: 194.5 kB / 16.67 MB, free: 5.977 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.714/2.714, allocations: 461.9 MB / 0.7348 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.84 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3963, allocations: 157.4 MB / 1.208 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.6887/1.085, allocations: 53.75 MB / 1.26 GB, free: 4 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02603/1.111, allocations: 17 MB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003185/1.114, allocations: 89.84 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005198/1.12, allocations: 1.924 MB / 1.279 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007429/1.127, allocations: 2.506 MB / 1.281 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006701/1.134, allocations: 2.348 MB / 1.284 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01295/1.147, allocations: 7.55 MB / 1.291 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003039/1.15, allocations: 1.664 MB / 1.293 GB, free: 96 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005919/1.156, allocations: 1.963 MB / 1.294 GB, free: 15.17 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003511/1.159, allocations: 1.426 MB / 1.296 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005113/1.16, allocations: 178.2 kB / 1.296 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005387/1.165, allocations: 2.021 MB / 1.298 GB, free: 13.84 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001041/1.166, allocations: 0.6642 MB / 1.299 GB, free: 13.51 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001881/1.168, allocations: 1.229 MB / 1.3 GB, free: 12.72 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008102/1.176, allocations: 3.914 MB / 1.304 GB, free: 11.24 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.176, allocations: 0 / 1.304 GB, free: 11.24 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/1.176, allocations: 0 / 1.304 GB, free: 11.24 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.427e-05/1.176, allocations: 0.9062 kB / 1.304 GB, free: 11.24 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.006889/1.183, allocations: 2.955 MB / 1.307 GB, free: 9.309 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/1.183, allocations: 8.938 kB / 1.307 GB, free: 9.309 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002806/1.186, allocations: 0.5546 MB / 1.307 GB, free: 9.148 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005586/1.192, allocations: 2.719 MB / 1.31 GB, free: 7.766 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/1.192, allocations: 99.95 kB / 1.31 GB, free: 7.715 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/1.192, allocations: 119.3 kB / 1.31 GB, free: 7.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003008/1.195, allocations: 1.365 MB / 1.311 GB, free: 7.016 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/1.195, allocations: 5.25 kB / 1.311 GB, free: 7.012 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/1.195, allocations: 48.72 kB / 1.311 GB, free: 6.977 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-05/1.195, allocations: 40.84 kB / 1.311 GB, free: 6.973 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002889/1.198, allocations: 1.104 MB / 1.312 GB, free: 6.602 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.01098/1.209, allocations: 7.46 MB / 1.32 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002429/1.212, allocations: 1.332 MB / 1.321 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/1.213, allocations: 428.8 kB / 1.321 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006287/1.219, allocations: 3.161 MB / 1.325 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/1.22, allocations: 423.1 kB / 1.325 GB, free: 13.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=59): time 2.936e-06/1.22, allocations: 0 / 1.325 GB, free: 13.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=59): time 0.003583/1.224, allocations: 1.244 MB / 1.326 GB, free: 12.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/1.224, allocations: 63.55 kB / 1.326 GB, free: 12.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004668/1.228, allocations: 2.128 MB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001487/1.229, allocations: 44.77 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009239/1.23, allocations: 1.022 MB / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/1.23, allocations: 213.7 kB / 1.33 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000457/1.23, allocations: 312.4 kB / 1.33 GB, free: 10.72 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.23, allocations: 309.2 kB / 1.33 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/1.232, allocations: 0.5488 MB / 1.331 GB, free: 10.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/1.233, allocations: 0.9953 MB / 1.332 GB, free: 9.348 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002742/1.236, allocations: 1.451 MB / 1.333 GB, free: 8.309 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/1.236, allocations: 3.062 kB / 1.333 GB, free: 8.309 MB / 1.029 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004487/1.241, allocations: 1.763 MB / 1.335 GB, free: 7.422 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.897e-05/1.241, allocations: 40.84 kB / 1.335 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.294e-05/1.241, allocations: 11.91 kB / 1.335 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.453e-05/1.241, allocations: 18.78 kB / 1.335 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/1.242, allocations: 309.3 kB / 1.335 GB, free: 7.312 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.995e-05/1.242, allocations: 24.95 kB / 1.335 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/1.244, allocations: 181.4 kB / 1.335 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/1.244, allocations: 63.59 kB / 1.335 GB, free: 7.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002256/1.246, allocations: 0.9713 MB / 1.336 GB, free: 6.625 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001628/1.248, allocations: 0.9876 MB / 1.337 GB, free: 5.805 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002728/1.251, allocations: 1.454 MB / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.067e-05/1.251, allocations: 3.938 kB / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.004109/1.255, allocations: 1.77 MB / 1.34 GB, free: 3.871 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/1.255, allocations: 44.72 kB / 1.341 GB, free: 3.832 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/1.255, allocations: 11.81 kB / 1.341 GB, free: 3.832 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/1.255, allocations: 18.5 kB / 1.341 GB, free: 3.832 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.256, allocations: 308.5 kB / 1.341 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.539e-05/1.256, allocations: 27.3 kB / 1.341 GB, free: 3.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/1.258, allocations: 155.8 kB / 1.341 GB, free: 3.664 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/1.258, allocations: 67.25 kB / 1.341 GB, free: 3.645 MB / 1.029 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.0004209/1.259, allocations: 256.6 kB / 1.341 GB, free: 3.406 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006156/1.259, allocations: 200.8 kB / 1.342 GB, free: 3.297 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003043/1.262, allocations: 1.128 MB / 1.343 GB, free: 2.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.998e-05/1.262, allocations: 10.89 kB / 1.343 GB, free: 2.676 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.262, allocations: 1.094 kB / 1.343 GB, free: 2.676 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00212/1.265, allocations: 0.9584 MB / 1.344 GB, free: 2.074 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006484/1.271, allocations: 2.623 MB / 1.346 GB, free: 356 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.271, allocations: 3.984 kB / 1.346 GB, free: 352 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007583/1.272, allocations: 146.1 kB / 1.346 GB, free: 312 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001916/1.272, allocations: 30.06 kB / 1.346 GB, free: 292 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-05/1.272, allocations: 27.08 kB / 1.346 GB, free: 272 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/1.273, allocations: 1.416 MB / 1.348 GB, free: 14.81 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.273, allocations: 1.25 kB / 1.348 GB, free: 14.81 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003826/1.277, allocations: 1.568 MB / 1.349 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/1.278, allocations: 400.3 kB / 1.35 GB, free: 13.6 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005558/1.279, allocations: 16.94 kB / 1.35 GB, free: 13.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/1.28, allocations: 67.89 kB / 1.35 GB, free: 13.56 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/1.28, allocations: 56.58 kB / 1.35 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.13e-05/1.281, allocations: 31.17 kB / 1.35 GB, free: 13.52 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002866/1.283, allocations: 1.481 MB / 1.351 GB, free: 12.71 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.51e-07/1.283, allocations: 0 / 1.351 GB, free: 12.71 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003988/1.287, allocations: 1.028 MB / 1.352 GB, free: 12.5 MB / 1.045 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.002461/1.29, allocations: 0.8764 MB / 1.353 GB, free: 12.07 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004465/1.294, allocations: 2.1 MB / 1.355 GB, free: 11.04 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.294, allocations: 0 / 1.355 GB, free: 11.04 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/1.296, allocations: 0.5351 MB / 1.356 GB, free: 10.74 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004971/1.301, allocations: 0.9717 MB / 1.357 GB, free: 10.23 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007142/1.308, allocations: 3.599 MB / 1.36 GB, free: 8.152 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/1.309, allocations: 1.543 MB / 1.362 GB, free: 7.035 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002139/1.311, allocations: 0.524 MB / 1.362 GB, free: 6.773 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005582/1.312, allocations: 175.4 kB / 1.362 GB, free: 6.602 MB / 1.045 GB Notification: Performance of SimCode: time 6.31e-07/1.312, allocations: 0 / 1.362 GB, free: 6.602 MB / 1.045 GB Notification: Performance of Templates: time 0.06916/1.381, allocations: 40.19 MB / 1.402 GB, free: 14.9 MB / 1.092 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