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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.669/2.669, allocations: 443.4 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 75.88 kB / 1.059 GB, free: 332 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3867, allocations: 160.7 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03422/0.4209, allocations: 29.83 MB / 1.245 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01169/0.4326, allocations: 6.913 MB / 1.252 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.4341, allocations: 47.69 kB / 1.252 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.4359, allocations: 0.7031 MB / 1.253 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004181/0.4401, allocations: 1.516 MB / 1.254 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003184/0.4433, allocations: 1.176 MB / 1.255 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003894/0.4472, allocations: 2.489 MB / 1.258 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.4484, allocations: 0.6498 MB / 1.258 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.4506, allocations: 1.054 MB / 1.259 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.452, allocations: 0.8636 MB / 1.26 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.4522, allocations: 68 kB / 1.26 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.4542, allocations: 0.8499 MB / 1.261 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003476/0.4545, allocations: 290.8 kB / 1.262 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007101/0.4552, allocations: 0.5475 MB / 1.262 GB, free: 148 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.783/1.238, allocations: 1.616 MB / 1.264 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.238, allocations: 0 / 1.264 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.024e-06/1.238, allocations: 1.094 kB / 1.264 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.182e-05/1.238, allocations: 0 / 1.264 GB, free: 12.93 MB / 0.9981 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.002642/1.241, allocations: 1.608 MB / 1.265 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/1.241, allocations: 14.75 kB / 1.265 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003439/1.244, allocations: 0.5914 MB / 1.266 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/1.246, allocations: 0.8797 MB / 1.267 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.499e-05/1.246, allocations: 58.14 kB / 1.267 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/1.246, allocations: 74.03 kB / 1.267 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002551/1.249, allocations: 1.101 MB / 1.268 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/1.249, allocations: 0.6562 kB / 1.268 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.042e-05/1.249, allocations: 37.02 kB / 1.268 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/1.249, allocations: 20.34 kB / 1.268 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002889/1.252, allocations: 1.003 MB / 1.269 GB, free: 11.26 MB / 0.9981 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.005716/1.257, allocations: 4.941 MB / 1.274 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003037/1.261, allocations: 0.8714 MB / 1.275 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/1.262, allocations: 467.5 kB / 1.275 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/1.263, allocations: 1.592 MB / 1.277 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001782/1.265, allocations: 0.5726 MB / 1.277 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=61): time 3.246e-06/1.265, allocations: 0.875 kB / 1.277 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=61): time 0.005159/1.27, allocations: 1.493 MB / 1.279 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/1.27, allocations: 57.84 kB / 1.279 GB, free: 6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/1.272, allocations: 1.118 MB / 1.28 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/1.272, allocations: 38.38 kB / 1.28 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004424/1.273, allocations: 0.5513 MB / 1.28 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/1.273, allocations: 219.4 kB / 1.281 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003479/1.273, allocations: 162.7 kB / 1.281 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.737e-05/1.273, allocations: 341.9 kB / 1.281 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/1.275, allocations: 453.5 kB / 1.281 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/1.277, allocations: 0.7084 MB / 1.282 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003241/1.28, allocations: 1.12 MB / 1.283 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/1.28, allocations: 2.469 kB / 1.283 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004414/1.284, allocations: 1.283 MB / 1.284 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/1.284, allocations: 12.19 kB / 1.284 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-05/1.284, allocations: 8.641 kB / 1.284 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.045e-05/1.284, allocations: 13.09 kB / 1.284 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/1.286, allocations: 268.4 kB / 1.285 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.083e-05/1.286, allocations: 16.8 kB / 1.285 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/1.287, allocations: 181.2 kB / 1.285 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/1.288, allocations: 44.22 kB / 1.285 GB, free: 4.312 MB / 0.9981 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.0005947/1.288, allocations: 295.4 kB / 1.285 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/1.288, allocations: 134.9 kB / 1.285 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003987/1.292, allocations: 1.389 MB / 1.287 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/1.292, allocations: 12.23 kB / 1.287 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.292, allocations: 1.188 kB / 1.287 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/1.292, allocations: 3.562 kB / 1.287 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005331/1.298, allocations: 2.392 MB / 1.289 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/1.298, allocations: 2.125 kB / 1.289 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/1.299, allocations: 197.2 kB / 1.289 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/1.299, allocations: 6.547 kB / 1.289 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.271e-05/1.299, allocations: 24.41 kB / 1.289 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.879e-06/1.299, allocations: 7.828 kB / 1.289 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.299, allocations: 4.75 kB / 1.289 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005347/1.304, allocations: 2.01 MB / 1.291 GB, free: 19.26 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006114/1.305, allocations: 285 kB / 1.292 GB, free: 19.08 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/1.305, allocations: 17.16 kB / 1.292 GB, free: 19.08 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000937/1.306, allocations: 109.9 kB / 1.292 GB, free: 19.07 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/1.306, allocations: 52.81 kB / 1.292 GB, free: 19.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.824e-05/1.306, allocations: 35.73 kB / 1.292 GB, free: 19.07 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001547/1.308, allocations: 0.763 MB / 1.293 GB, free: 18.96 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.308, allocations: 0 / 1.293 GB, free: 18.96 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001432/1.309, allocations: 347.9 kB / 1.293 GB, free: 18.92 MB / 1.014 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 (73): * Single equations (assignments): 58 * 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.002209/1.311, allocations: 0.6561 MB / 1.293 GB, free: 18.72 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003796/1.315, allocations: 1.087 MB / 1.295 GB, free: 18.68 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/1.315, allocations: 1.062 kB / 1.295 GB, free: 18.68 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001853/1.317, allocations: 0.5531 MB / 1.295 GB, free: 18.67 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/1.32, allocations: 462.5 kB / 1.296 GB, free: 18.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006037/1.326, allocations: 2.394 MB / 1.298 GB, free: 17.68 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/1.327, allocations: 1.108 MB / 1.299 GB, free: 16.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001389/1.328, allocations: 250.4 kB / 1.299 GB, free: 16.89 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/1.329, allocations: 108.1 kB / 1.299 GB, free: 16.88 MB / 1.014 GB Notification: Performance of SimCode: time 2.825e-06/1.329, allocations: 0 / 1.299 GB, free: 16.88 MB / 1.014 GB Notification: Performance of Templates: time 0.04718/1.376, allocations: 20.47 MB / 1.319 GB, free: 12.99 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.049458020366728]