Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001099/0.001099, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001264/0.001264, allocations: 191 kB / 16.25 MB, free: 6.637 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.392/1.392, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 437 MB / 0.71 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 59.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.833/0.8345, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03321/0.8678, allocations: 29.13 MB / 1.045 GB, free: 5.531 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01215/0.88, allocations: 6.833 MB / 1.052 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.8821, allocations: 43.69 kB / 1.052 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002233/0.8843, allocations: 0.6183 MB / 1.053 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.005182/0.8896, allocations: 1.353 MB / 1.054 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003672/0.8933, allocations: 1.058 MB / 1.055 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004311/0.8976, allocations: 2.489 MB / 1.057 GB, free: 9.105 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.8994, allocations: 0.8 MB / 1.058 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002652/0.9021, allocations: 1.031 MB / 1.059 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.9039, allocations: 0.852 MB / 1.06 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003126/0.9042, allocations: 64 kB / 1.06 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.9067, allocations: 0.8381 MB / 1.061 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005006/0.9072, allocations: 282.9 kB / 1.061 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.9083, allocations: 0.5553 MB / 1.062 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003516/0.9119, allocations: 1.593 MB / 1.063 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.9119, allocations: 0 / 1.063 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.355e-06/0.9119, allocations: 0 / 1.063 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.093e-05/0.912, allocations: 0 / 1.063 GB, free: 3.07 MB / 0.8106 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.003796/0.9158, allocations: 1.574 MB / 1.065 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.9158, allocations: 8.031 kB / 1.065 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003583/0.9194, allocations: 0.5963 MB / 1.065 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.9209, allocations: 0.8017 MB / 1.066 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.496e-05/0.921, allocations: 58.31 kB / 1.066 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.9211, allocations: 79.94 kB / 1.066 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/0.9237, allocations: 1.092 MB / 1.067 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.9237, allocations: 3.938 kB / 1.067 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.635e-05/0.9238, allocations: 35.98 kB / 1.067 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.9238, allocations: 20 kB / 1.067 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003025/0.9269, allocations: 1 MB / 1.068 GB, free: 13.61 MB / 0.8262 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.005811/0.9327, allocations: 4.935 MB / 1.073 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/0.9355, allocations: 0.899 MB / 1.074 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.937, allocations: 491.1 kB / 1.075 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/0.9386, allocations: 1.587 MB / 1.076 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001693/0.9403, allocations: 0.5767 MB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 3.066e-06/0.9403, allocations: 4 kB / 1.077 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.005013/0.9453, allocations: 1.481 MB / 1.078 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.9454, allocations: 59.97 kB / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.9469, allocations: 1.116 MB / 1.079 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-05/0.947, allocations: 37.7 kB / 1.079 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005096/0.9476, allocations: 0.5511 MB / 1.08 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.9478, allocations: 205.1 kB / 1.08 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002811/0.9481, allocations: 170.4 kB / 1.08 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.9482, allocations: 337.9 kB / 1.08 GB, free: 476 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.9497, allocations: 449.6 kB / 1.081 GB, free: 24 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.9514, allocations: 0.7164 MB / 1.082 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/0.9543, allocations: 1.12 MB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.9543, allocations: 4 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003605/0.958, allocations: 1.27 MB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.958, allocations: 8.938 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.958, allocations: 11.98 kB / 1.084 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.958, allocations: 16 kB / 1.084 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.9593, allocations: 267.6 kB / 1.084 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-05/0.9593, allocations: 15.94 kB / 1.084 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.9606, allocations: 198.9 kB / 1.084 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.9607, allocations: 47.97 kB / 1.084 GB, free: 12.13 MB / 0.8419 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.0005323/0.9613, allocations: 291.7 kB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/0.9615, allocations: 126.4 kB / 1.085 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003837/0.9654, allocations: 1.363 MB / 1.086 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-05/0.9654, allocations: 12 kB / 1.086 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.9654, allocations: 0 / 1.086 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.9654, allocations: 7.984 kB / 1.086 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005148/0.9706, allocations: 2.366 MB / 1.089 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.9706, allocations: 4 kB / 1.089 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.9717, allocations: 187.9 kB / 1.089 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/0.9717, allocations: 4 kB / 1.089 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.171e-05/0.9718, allocations: 27.97 kB / 1.089 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.9718, allocations: 4 kB / 1.089 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.9718, allocations: 0 / 1.089 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005156/0.977, allocations: 1.977 MB / 1.091 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005085/0.9775, allocations: 279.3 kB / 1.091 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.9777, allocations: 23.92 kB / 1.091 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.9788, allocations: 119.9 kB / 1.091 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.9789, allocations: 48.44 kB / 1.091 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.831e-05/0.979, allocations: 35.97 kB / 1.091 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001019/0.98, allocations: 0.7638 MB / 1.092 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9801, allocations: 0 / 1.092 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001234/0.9813, allocations: 339.6 kB / 1.092 GB, free: 4.027 MB / 0.8419 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.001702/0.983, allocations: 0.6665 MB / 1.093 GB, free: 3.523 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003888/0.9869, allocations: 1.185 MB / 1.094 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.9869, allocations: 0 / 1.094 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001687/0.9886, allocations: 0.5736 MB / 1.095 GB, free: 1.766 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/0.9909, allocations: 457.7 kB / 1.095 GB, free: 1.328 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/0.9966, allocations: 2.729 MB / 1.098 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008074/0.9975, allocations: 1.104 MB / 1.099 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001223/0.9987, allocations: 252.6 kB / 1.099 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003715/0.9991, allocations: 107.4 kB / 1.099 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of SimCode: time 7.32e-07/0.9991, allocations: 0 / 1.099 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of Templates: time 0.03656/1.036, allocations: 19.7 MB / 1.118 GB, free: 9.648 MB / 0.8731 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches