Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|heaHigPowIn.T|heaHigPowOut.T|heaHigPow.TSet|cooLimPowIn.T|cooLimPowOut.T|cooLimPow.TSet|heaCooUnlIn.T|heaCooUnlOut.T|heaCooUnl.TSet|heaHigPow.QMax_flow|heaHigPow.Q_flow|cooLimPow.QMin_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|heaHigPowIn.T|heaHigPowOut.T|heaHigPow.TSet|cooLimPowIn.T|cooLimPowOut.T|cooLimPow.TSet|heaCooUnlIn.T|heaCooUnlOut.T|heaCooUnl.TSet|heaHigPow.QMax_flow|heaHigPow.Q_flow|cooLimPow.QMin_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.45/2.45, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 172.9 kB / 491.2 MB, free: 1.551 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.727/1.727, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 99.88 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.643e-05/2.678e-05, allocations: 6.188 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3973, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.523/1.92, allocations: 401.6 MB / 1.604 GB, free: 12.93 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/1.92, allocations: 84.23 kB / 1.605 GB, free: 12.88 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.164/6.084, allocations: 0.9473 GB / 2.552 GB, free: 77.77 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.334e-06/6.084, allocations: 0 / 2.552 GB, free: 77.77 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004255/6.085, allocations: 47.98 kB / 2.552 GB, free: 77.72 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.007173/6.092, allocations: 1.862 MB / 2.554 GB, free: 75.79 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.712e-05/6.092, allocations: 8.031 kB / 2.554 GB, free: 75.78 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003858/6.096, allocations: 0.5988 MB / 2.554 GB, free: 75.18 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005065/6.101, allocations: 1.445 MB / 2.556 GB, free: 73.68 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.412e-05/6.101, allocations: 32 kB / 2.556 GB, free: 73.65 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004696/6.102, allocations: 64 kB / 2.556 GB, free: 73.59 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002279/6.104, allocations: 0.8668 MB / 2.557 GB, free: 72.72 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/6.106, allocations: 1.051 MB / 2.558 GB, free: 71.61 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/6.106, allocations: 0 / 2.558 GB, free: 71.61 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/6.107, allocations: 4 kB / 2.558 GB, free: 71.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/6.107, allocations: 24 kB / 2.558 GB, free: 71.58 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.009092/6.116, allocations: 6.211 MB / 2.564 GB, free: 64.87 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/6.117, allocations: 0.9232 MB / 2.565 GB, free: 63.94 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006275/6.118, allocations: 0.4935 MB / 2.565 GB, free: 63.45 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001479/6.119, allocations: 2.265 MB / 2.567 GB, free: 60.68 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008163/6.12, allocations: 0.6522 MB / 2.568 GB, free: 60 MB / 1.151 GB Notification: Performance of pre-optimization done (n=100): time 4.579e-06/6.12, allocations: 0 / 2.568 GB, free: 60 MB / 1.151 GB Notification: Performance of matching and sorting (n=100): time 0.003758/6.124, allocations: 1.455 MB / 2.569 GB, free: 58.54 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/6.124, allocations: 153.2 kB / 2.57 GB, free: 58.36 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/6.126, allocations: 0.8819 MB / 2.57 GB, free: 57.46 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001334/6.126, allocations: 29.7 kB / 2.57 GB, free: 57.43 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006144/6.127, allocations: 0.6971 MB / 2.571 GB, free: 56.73 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/6.127, allocations: 315.3 kB / 2.571 GB, free: 56.41 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.504e-05/6.127, allocations: 4 kB / 2.571 GB, free: 56.41 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001015/6.127, allocations: 345.9 kB / 2.572 GB, free: 56.07 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005391/6.128, allocations: 402.5 kB / 2.572 GB, free: 55.68 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000685/6.128, allocations: 0.6384 MB / 2.573 GB, free: 54.94 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/6.13, allocations: 0.6926 MB / 2.573 GB, free: 54.25 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/6.13, allocations: 0 / 2.573 GB, free: 54.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003568/6.134, allocations: 1.57 MB / 2.575 GB, free: 52.67 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004694/6.135, allocations: 1.704 MB / 2.577 GB, free: 50.86 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/6.135, allocations: 4 kB / 2.577 GB, free: 50.86 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.608e-05/6.135, allocations: 8 kB / 2.577 GB, free: 50.85 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/6.136, allocations: 287.6 kB / 2.577 GB, free: 50.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/6.136, allocations: 11.94 kB / 2.577 GB, free: 50.55 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/6.138, allocations: 214.4 kB / 2.577 GB, free: 50.35 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/6.138, allocations: 63.97 kB / 2.577 GB, free: 50.29 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/6.138, allocations: 4 kB / 2.577 GB, free: 50.28 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003301/6.141, allocations: 1.437 MB / 2.579 GB, free: 48.85 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/6.141, allocations: 4 kB / 2.579 GB, free: 48.84 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/6.141, allocations: 11.98 kB / 2.579 GB, free: 48.83 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/6.143, allocations: 279.9 kB / 2.579 GB, free: 48.56 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/6.143, allocations: 15.89 kB / 2.579 GB, free: 48.54 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/6.144, allocations: 207.1 kB / 2.579 GB, free: 48.34 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/6.145, allocations: 59.97 kB / 2.579 GB, free: 48.28 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004086/6.145, allocations: 241.3 kB / 2.579 GB, free: 48.02 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004939/6.145, allocations: 154.1 kB / 2.58 GB, free: 47.87 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004646/6.15, allocations: 2.051 MB / 2.582 GB, free: 45.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.129e-05/6.15, allocations: 19.98 kB / 2.582 GB, free: 45.78 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/6.15, allocations: 0 / 2.582 GB, free: 45.78 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/6.15, allocations: 7.938 kB / 2.582 GB, free: 45.77 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007132/6.157, allocations: 3.291 MB / 2.585 GB, free: 42.42 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/6.157, allocations: 4 kB / 2.585 GB, free: 42.41 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/6.159, allocations: 227.9 kB / 2.585 GB, free: 42.19 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.509e-05/6.159, allocations: 7.984 kB / 2.585 GB, free: 42.18 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/6.159, allocations: 35.97 kB / 2.585 GB, free: 42.15 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.337e-06/6.159, allocations: 4 kB / 2.585 GB, free: 42.14 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/6.159, allocations: 0 / 2.585 GB, free: 42.14 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004904/6.164, allocations: 2.741 MB / 2.588 GB, free: 39.33 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/6.165, allocations: 406.5 kB / 2.588 GB, free: 38.91 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004819/6.165, allocations: 19.98 kB / 2.588 GB, free: 38.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/6.167, allocations: 151.8 kB / 2.588 GB, free: 38.74 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/6.167, allocations: 65.22 kB / 2.588 GB, free: 38.68 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/6.167, allocations: 59.97 kB / 2.588 GB, free: 38.62 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001327/6.169, allocations: 0.6677 MB / 2.589 GB, free: 37.95 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/6.169, allocations: 0 / 2.589 GB, free: 37.95 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003757/6.172, allocations: 0.8929 MB / 2.59 GB, free: 37.06 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002207/6.175, allocations: 0.9771 MB / 2.591 GB, free: 36.09 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002777/6.177, allocations: 2.209 MB / 2.593 GB, free: 33.81 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/6.177, allocations: 0 / 2.593 GB, free: 33.81 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009072/6.178, allocations: 0.8898 MB / 2.594 GB, free: 32.88 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/6.181, allocations: 0.5081 MB / 2.594 GB, free: 32.37 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/6.185, allocations: 2.402 MB / 2.597 GB, free: 29.91 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000627/6.186, allocations: 1.316 MB / 2.598 GB, free: 28.57 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002001/6.188, allocations: 478.4 kB / 2.599 GB, free: 28.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/6.188, allocations: 115.4 kB / 2.599 GB, free: 27.98 MB / 1.151 GB Notification: Performance of SimCode: time 8.01e-07/6.188, allocations: 4 kB / 2.599 GB, free: 27.98 MB / 1.151 GB Notification: Performance of Templates: time 1.014/7.202, allocations: 31.1 MB / 2.629 GB, free: 195.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches