Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008694/0.0008694, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009097/0.0009097, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8847/0.8847, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.664/1.664, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.42e-05, allocations: 13.45 kB / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01908/0.0191, allocations: 26.91 MB / 0.9768 GB, free: 8.449 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.007578/0.02668, allocations: 6.541 MB / 0.9832 GB, free: 1.891 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.02775, allocations: 67.38 kB / 0.9833 GB, free: 1.824 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.02909, allocations: 0.7066 MB / 0.984 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003082/0.03217, allocations: 1.612 MB / 0.9855 GB, free: 15.49 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.03438, allocations: 1.119 MB / 0.9866 GB, free: 14.38 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.002626/0.03701, allocations: 2.57 MB / 0.9891 GB, free: 11.8 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008644/0.03787, allocations: 0.6621 MB / 0.9898 GB, free: 11.12 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.03971, allocations: 1.351 MB / 0.9911 GB, free: 9.766 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009962/0.04071, allocations: 0.7517 MB / 0.9918 GB, free: 9.012 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.04082, allocations: 68 kB / 0.9919 GB, free: 8.945 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.04254, allocations: 0.6856 MB / 0.9926 GB, free: 8.258 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002651/0.0428, allocations: 302.7 kB / 0.9929 GB, free: 7.961 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000403/0.0432, allocations: 366.9 kB / 0.9932 GB, free: 7.602 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.04505, allocations: 1.604 MB / 0.9948 GB, free: 5.992 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.04506, allocations: 4 kB / 0.9948 GB, free: 5.988 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.044e-06/0.04506, allocations: 0 / 0.9948 GB, free: 5.988 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.04507, allocations: 0 / 0.9948 GB, free: 5.988 MB / 0.948 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.001855/0.04693, allocations: 1.544 MB / 0.9963 GB, free: 4.406 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.04697, allocations: 12.03 kB / 0.9963 GB, free: 4.395 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.235e-05/0.04706, allocations: 118.7 kB / 0.9964 GB, free: 4.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/0.04867, allocations: 0.5892 MB / 0.997 GB, free: 3.68 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009782/0.04965, allocations: 0.7791 MB / 0.9977 GB, free: 2.859 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.124e-05/0.04969, allocations: 54.38 kB / 0.9978 GB, free: 2.805 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.945e-05/0.04978, allocations: 72.38 kB / 0.9979 GB, free: 2.734 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.05119, allocations: 1.119 MB / 0.999 GB, free: 1.539 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.05121, allocations: 0 / 0.999 GB, free: 1.539 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.05126, allocations: 31.94 kB / 0.999 GB, free: 1.508 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.05127, allocations: 20 kB / 0.999 GB, free: 1.488 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.05292, allocations: 1.02 MB / 1 GB, free: 480 kB / 0.948 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.003691/0.05661, allocations: 4.252 MB / 1.004 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.05821, allocations: 0.88 MB / 1.005 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007329/0.05894, allocations: 474.3 kB / 1.005 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000402/0.05934, allocations: 176.3 kB / 1.006 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008979/0.06024, allocations: 0.576 MB / 1.006 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=61): time 4.027e-06/0.06025, allocations: 0 / 1.006 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of matching and sorting (n=61): time 0.002596/0.06284, allocations: 1.519 MB / 1.008 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.06289, allocations: 55.91 kB / 1.008 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.0639, allocations: 1.184 MB / 1.009 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.294e-05/0.06395, allocations: 45.69 kB / 1.009 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.06433, allocations: 0.56 MB / 1.009 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.06447, allocations: 214.2 kB / 1.01 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.06464, allocations: 166.5 kB / 1.01 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.538e-05/0.06472, allocations: 337.9 kB / 1.01 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007466/0.06547, allocations: 457.6 kB / 1.011 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009669/0.06644, allocations: 0.9543 MB / 1.012 GB, free: 4.246 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.068, allocations: 1.13 MB / 1.013 GB, free: 3.012 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.06801, allocations: 4 kB / 1.013 GB, free: 3.008 MB / 0.9636 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001974/0.06998, allocations: 1.297 MB / 1.014 GB, free: 1.703 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.07001, allocations: 11.94 kB / 1.014 GB, free: 1.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.07002, allocations: 8 kB / 1.014 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.07005, allocations: 12 kB / 1.014 GB, free: 1.672 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005967/0.07064, allocations: 276 kB / 1.014 GB, free: 1.402 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.07066, allocations: 15.94 kB / 1.014 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006216/0.07128, allocations: 171.3 kB / 1.014 GB, free: 1.219 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-05/0.07134, allocations: 47.98 kB / 1.014 GB, free: 1.172 MB / 0.9636 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.0003753/0.07172, allocations: 300.2 kB / 1.015 GB, free: 0.8711 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.07185, allocations: 127.2 kB / 1.015 GB, free: 0.7461 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.07406, allocations: 1.444 MB / 1.016 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.07408, allocations: 8 kB / 1.016 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.07408, allocations: 0 / 1.016 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.07409, allocations: 3.984 kB / 1.016 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002934/0.07703, allocations: 2.336 MB / 1.019 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.07703, allocations: 4 kB / 1.019 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005104/0.07754, allocations: 195.9 kB / 1.019 GB, free: 12.69 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.07755, allocations: 8 kB / 1.019 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-05/0.0776, allocations: 31.97 kB / 1.019 GB, free: 12.65 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.07761, allocations: 7.938 kB / 1.019 GB, free: 12.64 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.07761, allocations: 0 / 1.019 GB, free: 12.64 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002922/0.08053, allocations: 2.073 MB / 1.021 GB, free: 10.53 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/0.0809, allocations: 214.9 kB / 1.021 GB, free: 10.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.081, allocations: 19.94 kB / 1.021 GB, free: 10.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.08144, allocations: 108 kB / 1.021 GB, free: 10.19 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-05/0.08153, allocations: 64.48 kB / 1.021 GB, free: 10.13 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.352e-05/0.08159, allocations: 35.97 kB / 1.021 GB, free: 10.09 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0007518/0.08234, allocations: 0.8036 MB / 1.022 GB, free: 9.285 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.41e-07/0.08234, allocations: 0 / 1.022 GB, free: 9.285 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0008443/0.08318, allocations: 355.3 kB / 1.022 GB, free: 8.938 MB / 0.9792 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 (76): * Single equations (assignments): 61 * 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.004259/0.08744, allocations: 3.194 MB / 1.025 GB, free: 5.895 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001946/0.08939, allocations: 1.12 MB / 1.027 GB, free: 4.77 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.08939, allocations: 0 / 1.027 GB, free: 4.77 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000858/0.09025, allocations: 0.574 MB / 1.027 GB, free: 4.199 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.09152, allocations: 472.8 kB / 1.028 GB, free: 3.75 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.103, allocations: 9.728 MB / 1.037 GB, free: 9.648 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.1034, allocations: 0.5296 MB / 1.038 GB, free: 9.074 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0006886/0.1041, allocations: 248.6 kB / 1.038 GB, free: 8.828 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004655/0.1046, allocations: 480.3 kB / 1.038 GB, free: 8.359 MB / 0.9948 GB Notification: Performance of SimCode: time 1.793e-06/0.1046, allocations: 0 / 1.038 GB, free: 8.359 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4722/0.5768, allocations: 33.72 MB / 1.071 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/8.449, allocations: 1.594 kB / 1.071 GB, free: 129.4 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.615601315163076]