Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0009387/0.0009387, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.491/2.491, allocations: 390.9 MB / 0.667 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003699, allocations: 8 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7615/0.7619, allocations: 142.4 MB / 0.9557 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02724/0.7892, allocations: 28.45 MB / 0.9835 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.8002, allocations: 6.817 MB / 0.9901 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.8018, allocations: 44.06 kB / 0.9902 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.8035, allocations: 0.5992 MB / 0.9908 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004015/0.8075, allocations: 1.348 MB / 0.9921 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003002/0.8106, allocations: 1.042 MB / 0.9931 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004405/0.815, allocations: 3.214 MB / 0.9962 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.8164, allocations: 0.7151 MB / 0.9969 GB, free: 5.059 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002275/0.8187, allocations: 0.9256 MB / 0.9978 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.82, allocations: 0.8168 MB / 0.9986 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.8202, allocations: 40 kB / 0.9987 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/0.8222, allocations: 0.756 MB / 0.9994 GB, free: 2.512 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003087/0.8225, allocations: 246.9 kB / 0.9997 GB, free: 2.27 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00067/0.8232, allocations: 0.5491 MB / 1 GB, free: 1.711 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.8249, allocations: 1.111 MB / 1.001 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.825, allocations: 4 kB / 1.001 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.014e-06/0.825, allocations: 0 / 1.001 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.825, allocations: 0 / 1.001 GB, free: 0.5938 MB / 0.7481 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.002625/0.8276, allocations: 1.36 MB / 1.003 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.8277, allocations: 16.03 kB / 1.003 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003602/0.8313, allocations: 0.6314 MB / 1.003 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.8328, allocations: 0.8017 MB / 1.004 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.564e-05/0.8329, allocations: 54.38 kB / 1.004 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.833, allocations: 79.94 kB / 1.004 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/0.8356, allocations: 1.107 MB / 1.005 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.8357, allocations: 4 kB / 1.005 GB, free: 12.35 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-05/0.8358, allocations: 32 kB / 1.005 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.8358, allocations: 16 kB / 1.005 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003223/0.839, allocations: 1.027 MB / 1.006 GB, free: 11.27 MB / 0.7637 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.006435/0.8455, allocations: 4.974 MB / 1.011 GB, free: 6.008 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003067/0.8486, allocations: 0.9584 MB / 1.012 GB, free: 5.043 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.8501, allocations: 0.4921 MB / 1.013 GB, free: 4.551 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001526/0.8517, allocations: 1.599 MB / 1.014 GB, free: 2.602 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001814/0.8535, allocations: 0.5846 MB / 1.015 GB, free: 2 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=61): time 4.098e-06/0.8535, allocations: 0 / 1.015 GB, free: 2 MB / 0.7637 GB Notification: Performance of matching and sorting (n=61): time 0.00508/0.8586, allocations: 1.524 MB / 1.016 GB, free: 480 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.8587, allocations: 55.97 kB / 1.016 GB, free: 412 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/0.8605, allocations: 1.116 MB / 1.017 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.655e-05/0.8606, allocations: 37.7 kB / 1.017 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004997/0.8611, allocations: 0.5511 MB / 1.018 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/0.8613, allocations: 201.2 kB / 1.018 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.8615, allocations: 69.69 kB / 1.018 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.8616, allocations: 341.9 kB / 1.018 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.8632, allocations: 461.6 kB / 1.019 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.865, allocations: 0.7242 MB / 1.02 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003264/0.8682, allocations: 1.144 MB / 1.021 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.8683, allocations: 0 / 1.021 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00391/0.8722, allocations: 1.302 MB / 1.022 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.8722, allocations: 9.875 kB / 1.022 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.8723, allocations: 12.12 kB / 1.022 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.8723, allocations: 12 kB / 1.022 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.8735, allocations: 271.6 kB / 1.022 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.35e-05/0.8736, allocations: 15.94 kB / 1.022 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.8749, allocations: 214.8 kB / 1.023 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.8751, allocations: 51.91 kB / 1.023 GB, free: 9.641 MB / 0.7794 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.0005166/0.8756, allocations: 292.3 kB / 1.023 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/0.8758, allocations: 118.5 kB / 1.023 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004121/0.88, allocations: 1.394 MB / 1.024 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-05/0.88, allocations: 4 kB / 1.024 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.8801, allocations: 4 kB / 1.024 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.8801, allocations: 7.984 kB / 1.024 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005599/0.8857, allocations: 2.393 MB / 1.027 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.8857, allocations: 4 kB / 1.027 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.8868, allocations: 195.9 kB / 1.027 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.587e-05/0.8868, allocations: 7.984 kB / 1.027 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.557e-05/0.8869, allocations: 23.98 kB / 1.027 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.21e-05/0.8869, allocations: 7.984 kB / 1.027 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.8869, allocations: 3.938 kB / 1.027 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005569/0.8925, allocations: 2.012 MB / 1.029 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006279/0.8932, allocations: 283.4 kB / 1.029 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002437/0.8934, allocations: 19.94 kB / 1.029 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.8946, allocations: 131.9 kB / 1.029 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.8947, allocations: 52.38 kB / 1.029 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.43e-05/0.8948, allocations: 39.97 kB / 1.029 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001144/0.896, allocations: 0.7638 MB / 1.03 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.896, allocations: 0 / 1.03 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001256/0.8973, allocations: 343.6 kB / 1.03 GB, free: 1.418 MB / 0.7794 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.001678/0.899, allocations: 0.6512 MB / 1.031 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003707/0.9027, allocations: 1.146 MB / 1.032 GB, free: 15.77 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.9027, allocations: 0 / 1.032 GB, free: 15.77 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.9045, allocations: 0.5814 MB / 1.033 GB, free: 15.2 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003236/0.9078, allocations: 426.8 kB / 1.033 GB, free: 14.78 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00602/0.9138, allocations: 2.844 MB / 1.036 GB, free: 11.88 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000826/0.9147, allocations: 1.1 MB / 1.037 GB, free: 10.75 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/0.9152, allocations: 115.4 kB / 1.037 GB, free: 10.64 MB / 0.795 GB Notification: Performance of SimCode: time 1.183e-06/0.9152, allocations: 4 kB / 1.037 GB, free: 10.63 MB / 0.795 GB Notification: Performance of Templates: time 0.03244/0.9477, allocations: 18.83 MB / 1.056 GB, free: 7.961 MB / 0.8106 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches