Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 107.4 kB / 15.99 MB, free: 6.359 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.001332/0.001332, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.693/2.693, allocations: 469.4 MB / 0.7423 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 67.2 kB / 0.9083 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.4576, allocations: 159.1 MB / 1.064 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.7839/1.241, allocations: 29.11 MB / 1.092 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01055/1.252, allocations: 6.846 MB / 1.099 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/1.254, allocations: 43.72 kB / 1.099 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001984/1.256, allocations: 0.6162 MB / 1.099 GB, free: 2.902 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004935/1.261, allocations: 1.355 MB / 1.101 GB, free: 2.176 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003746/1.265, allocations: 1.048 MB / 1.102 GB, free: 1.625 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004693/1.269, allocations: 2.486 MB / 1.104 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/1.271, allocations: 0.8116 MB / 1.105 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/1.274, allocations: 1.029 MB / 1.106 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001913/1.276, allocations: 0.8524 MB / 1.107 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002262/1.276, allocations: 67.16 kB / 1.107 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002678/1.279, allocations: 0.8382 MB / 1.108 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004782/1.279, allocations: 275.2 kB / 1.108 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009317/1.28, allocations: 0.5529 MB / 1.109 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002651/1.283, allocations: 1.151 MB / 1.11 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.283, allocations: 1.094 kB / 1.11 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.524e-06/1.283, allocations: 0 / 1.11 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.275e-05/1.283, allocations: 0 / 1.11 GB, free: 14.18 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003953/1.287, allocations: 1.566 MB / 1.111 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.684e-05/1.287, allocations: 10.22 kB / 1.111 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004217/1.291, allocations: 0.5887 MB / 1.112 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/1.293, allocations: 0.8082 MB / 1.113 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.553e-05/1.293, allocations: 58.27 kB / 1.113 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/1.294, allocations: 82.52 kB / 1.113 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003197/1.297, allocations: 1.096 MB / 1.114 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/1.297, allocations: 6.375 kB / 1.114 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.511e-05/1.297, allocations: 32.67 kB / 1.114 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/1.297, allocations: 18.44 kB / 1.114 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003637/1.301, allocations: 1.001 MB / 1.115 GB, free: 11.63 MB / 0.8575 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.008388/1.309, allocations: 4.938 MB / 1.12 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003436/1.313, allocations: 0.8967 MB / 1.121 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/1.314, allocations: 492.7 kB / 1.121 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001811/1.316, allocations: 1.588 MB / 1.123 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002121/1.318, allocations: 0.58 MB / 1.123 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=61): time 3.477e-06/1.318, allocations: 1.156 kB / 1.123 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of matching and sorting (n=61): time 0.005757/1.324, allocations: 1.477 MB / 1.125 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/1.324, allocations: 66.48 kB / 1.125 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/1.326, allocations: 1.114 MB / 1.126 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001667/1.327, allocations: 39.69 kB / 1.126 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005723/1.327, allocations: 0.5502 MB / 1.126 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/1.328, allocations: 201.3 kB / 1.126 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004161/1.328, allocations: 168.2 kB / 1.127 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001679/1.328, allocations: 335.7 kB / 1.127 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/1.33, allocations: 449.3 kB / 1.127 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/1.332, allocations: 0.7194 MB / 1.128 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003567/1.336, allocations: 1.114 MB / 1.129 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.171e-05/1.336, allocations: 3.312 kB / 1.129 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004663/1.34, allocations: 1.274 MB / 1.13 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/1.341, allocations: 17.56 kB / 1.13 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/1.341, allocations: 7.422 kB / 1.13 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.497e-05/1.341, allocations: 16.12 kB / 1.13 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/1.342, allocations: 268 kB / 1.131 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.632e-05/1.342, allocations: 18.12 kB / 1.131 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/1.344, allocations: 197.6 kB / 1.131 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/1.344, allocations: 43.75 kB / 1.131 GB, free: 1.785 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0008088/1.345, allocations: 294 kB / 1.131 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004378/1.346, allocations: 123 kB / 1.131 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004753/1.35, allocations: 1.361 MB / 1.133 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3e-05/1.35, allocations: 9.734 kB / 1.133 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.35, allocations: 0.6875 kB / 1.133 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/1.35, allocations: 8.188 kB / 1.133 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007116/1.357, allocations: 2.368 MB / 1.135 GB, free: 64 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/1.358, allocations: 1.844 kB / 1.135 GB, free: 64 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/1.359, allocations: 187.5 kB / 1.135 GB, free: 48 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.99e-05/1.359, allocations: 9.656 kB / 1.135 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/1.359, allocations: 28.58 kB / 1.135 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/1.359, allocations: 4.609 kB / 1.135 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.359, allocations: 1.5 kB / 1.135 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006313/1.365, allocations: 1.976 MB / 1.137 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009096/1.366, allocations: 282.2 kB / 1.137 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004171/1.367, allocations: 18.22 kB / 1.137 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/1.368, allocations: 121.6 kB / 1.138 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/1.368, allocations: 52.42 kB / 1.138 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/1.368, allocations: 33.81 kB / 1.138 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001825/1.37, allocations: 0.7682 MB / 1.138 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.144e-06/1.37, allocations: 0 / 1.138 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002182/1.372, allocations: 346.5 kB / 1.139 GB, free: 14.65 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002261/1.375, allocations: 0.6588 MB / 1.139 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.004582/1.379, allocations: 1.19 MB / 1.141 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/1.379, allocations: 0 / 1.141 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002033/1.381, allocations: 0.5694 MB / 1.141 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/1.385, allocations: 454.1 kB / 1.142 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007144/1.392, allocations: 2.772 MB / 1.144 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/1.393, allocations: 1.101 MB / 1.145 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007123/1.394, allocations: 121.8 kB / 1.145 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of SimCode: time 6.61e-07/1.394, allocations: 0 / 1.145 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of Templates: time 0.04608/1.44, allocations: 19.02 MB / 1.164 GB, free: 1.461 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches