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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001175/0.001175, allocations: 100.1 kB / 15.88 MB, free: 12 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.001189/0.001189, allocations: 197.9 kB / 16.79 MB, free: 6.809 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.343/1.343, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.582/2.582, allocations: 437 MB / 0.7106 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 67.89 kB / 0.8692 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6734/0.6749, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03401/0.7089, allocations: 29.2 MB / 1.046 GB, free: 5.492 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.7205, allocations: 6.9 MB / 1.053 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.7223, allocations: 43.69 kB / 1.053 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.7244, allocations: 0.5949 MB / 1.053 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004488/0.7289, allocations: 1.349 MB / 1.054 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.7322, allocations: 1.037 MB / 1.055 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004057/0.7363, allocations: 3.226 MB / 1.059 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00204/0.7383, allocations: 0.725 MB / 1.059 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/0.741, allocations: 0.9334 MB / 1.06 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.7426, allocations: 0.8324 MB / 1.061 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003087/0.7429, allocations: 40 kB / 1.061 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002197/0.7451, allocations: 0.7638 MB / 1.062 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004576/0.7456, allocations: 262.9 kB / 1.062 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0009584/0.7466, allocations: 0.5241 MB / 1.063 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.7484, allocations: 1.146 MB / 1.064 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7485, allocations: 0 / 1.064 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7485, allocations: 0 / 1.064 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.129e-05/0.7485, allocations: 0 / 1.064 GB, free: 3.066 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.003276/0.7518, allocations: 1.559 MB / 1.065 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.7519, allocations: 16.02 kB / 1.065 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003726/0.7556, allocations: 0.5845 MB / 1.066 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.7573, allocations: 0.8017 MB / 1.067 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.106e-05/0.7574, allocations: 62.38 kB / 1.067 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.7575, allocations: 79.88 kB / 1.067 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00268/0.7602, allocations: 1.096 MB / 1.068 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.7603, allocations: 4 kB / 1.068 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.37e-05/0.7604, allocations: 36 kB / 1.068 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.7604, allocations: 16 kB / 1.068 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003166/0.7636, allocations: 1 MB / 1.069 GB, free: 13.62 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.006179/0.7697, allocations: 4.939 MB / 1.074 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002955/0.7727, allocations: 0.9029 MB / 1.075 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.7742, allocations: 481.2 kB / 1.075 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001481/0.7757, allocations: 1.595 MB / 1.077 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001725/0.7774, allocations: 0.5768 MB / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 3.266e-06/0.7774, allocations: 0 / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.004869/0.7823, allocations: 1.485 MB / 1.079 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.7824, allocations: 59.97 kB / 1.079 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.7841, allocations: 1.116 MB / 1.08 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.7843, allocations: 41.7 kB / 1.08 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005086/0.7848, allocations: 0.555 MB / 1.08 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.785, allocations: 201.2 kB / 1.08 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/0.7853, allocations: 162.4 kB / 1.081 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.7855, allocations: 337.9 kB / 1.081 GB, free: 492 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.787, allocations: 453.6 kB / 1.081 GB, free: 36 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.7887, allocations: 0.7202 MB / 1.082 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003006/0.7917, allocations: 1.121 MB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.7917, allocations: 4 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003802/0.7955, allocations: 1.278 MB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.7956, allocations: 10.19 kB / 1.084 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.7956, allocations: 8 kB / 1.084 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.52e-05/0.7956, allocations: 12 kB / 1.084 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.7969, allocations: 268.2 kB / 1.085 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.163e-05/0.7969, allocations: 19.92 kB / 1.085 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.7983, allocations: 198.9 kB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.7985, allocations: 39.98 kB / 1.085 GB, free: 12.14 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.0005683/0.799, allocations: 295.8 kB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/0.7994, allocations: 122.4 kB / 1.085 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003855/0.8032, allocations: 1.363 MB / 1.087 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.8033, allocations: 12 kB / 1.087 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.8033, allocations: 3.984 kB / 1.087 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.8033, allocations: 3.938 kB / 1.087 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005289/0.8086, allocations: 2.366 MB / 1.089 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.8086, allocations: 3.984 kB / 1.089 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.8097, allocations: 183.9 kB / 1.089 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/0.8097, allocations: 4 kB / 1.089 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.813e-05/0.8098, allocations: 31.97 kB / 1.089 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.8098, allocations: 4 kB / 1.089 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.8098, allocations: 4 kB / 1.089 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005196/0.815, allocations: 1.977 MB / 1.091 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006199/0.8157, allocations: 271.4 kB / 1.091 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002699/0.8159, allocations: 20 kB / 1.091 GB, free: 5.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.8171, allocations: 123.8 kB / 1.092 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.8172, allocations: 68.3 kB / 1.092 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.239e-05/0.8173, allocations: 31.97 kB / 1.092 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001075/0.8184, allocations: 0.7638 MB / 1.092 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8184, allocations: 0 / 1.092 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00121/0.8196, allocations: 343.6 kB / 1.093 GB, free: 4.02 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.001625/0.8213, allocations: 0.6548 MB / 1.093 GB, free: 3.523 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003437/0.8247, allocations: 1.111 MB / 1.094 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8247, allocations: 0 / 1.094 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001678/0.8264, allocations: 0.5773 MB / 1.095 GB, free: 1.836 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/0.8288, allocations: 424.6 kB / 1.095 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005531/0.8344, allocations: 2.767 MB / 1.098 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007458/0.8351, allocations: 1.096 MB / 1.099 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004801/0.8356, allocations: 119.4 kB / 1.099 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of SimCode: time 6.81e-07/0.8356, allocations: 0 / 1.099 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of Templates: time 0.03081/0.8665, allocations: 19.01 MB / 1.118 GB, free: 10.52 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/jenkins1/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