Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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.001558/0.001558, allocations: 107.1 kB / 16.45 MB, free: 6.035 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.001641/0.001641, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.378/1.378, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.49/2.49, allocations: 443.5 MB / 0.7287 GB, free: 13.42 MB / 0.5919 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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 1.056 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8541/0.8561, allocations: 160.7 MB / 1.213 GB, free: 3.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2446/1.101, allocations: 194.5 MB / 1.403 GB, free: 5.031 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01433/1.115, allocations: 5.165 MB / 1.408 GB, free: 15.86 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/1.117, allocations: 51.62 kB / 1.408 GB, free: 15.8 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002332/1.119, allocations: 0.8276 MB / 1.409 GB, free: 14.97 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006516/1.126, allocations: 2.696 MB / 1.411 GB, free: 12.27 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002735/1.128, allocations: 1.109 MB / 1.412 GB, free: 11.16 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00368/1.132, allocations: 2.687 MB / 1.415 GB, free: 8.469 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/1.134, allocations: 0.8157 MB / 1.416 GB, free: 7.637 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002216/1.136, allocations: 1.148 MB / 1.417 GB, free: 6.484 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/1.138, allocations: 1.055 MB / 1.418 GB, free: 5.426 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003125/1.138, allocations: 88 kB / 1.418 GB, free: 5.34 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003745/1.142, allocations: 1.905 MB / 1.42 GB, free: 3.43 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006802/1.142, allocations: 466.4 kB / 1.42 GB, free: 2.973 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/1.143, allocations: 0.6643 MB / 1.421 GB, free: 2.305 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003828/1.147, allocations: 2.211 MB / 1.423 GB, free: 88 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.147, allocations: 0 / 1.423 GB, free: 88 kB / 1.123 GB Notification: Performance of FrontEnd: time 1.422e-06/1.147, allocations: 0 / 1.423 GB, free: 88 kB / 1.123 GB Notification: Performance of Transformations before backend: time 2.784e-05/1.147, allocations: 0 / 1.423 GB, free: 88 kB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00523/1.152, allocations: 2.006 MB / 1.425 GB, free: 14.02 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/1.153, allocations: 8.625 kB / 1.425 GB, free: 14.01 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001868/1.153, allocations: 151.5 kB / 1.425 GB, free: 13.86 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005492/1.158, allocations: 0.8963 MB / 1.426 GB, free: 12.96 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/1.16, allocations: 0.9889 MB / 1.427 GB, free: 11.91 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.632e-05/1.16, allocations: 66 kB / 1.427 GB, free: 11.85 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/1.161, allocations: 91.95 kB / 1.427 GB, free: 11.76 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003809/1.164, allocations: 1.583 MB / 1.429 GB, free: 10.14 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/1.164, allocations: 0 / 1.429 GB, free: 10.14 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/1.165, allocations: 40 kB / 1.429 GB, free: 10.1 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.53e-05/1.165, allocations: 49.92 kB / 1.429 GB, free: 10.05 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005203/1.17, allocations: 1.85 MB / 1.431 GB, free: 8.199 MB / 1.139 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.008677/1.179, allocations: 4.743 MB / 1.435 GB, free: 3.223 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004317/1.183, allocations: 1.514 MB / 1.437 GB, free: 1.703 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002223/1.185, allocations: 0.8162 MB / 1.438 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/1.187, allocations: 0.9491 MB / 1.439 GB, free: 15.75 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002567/1.189, allocations: 0.9066 MB / 1.44 GB, free: 14.83 MB / 1.154 GB Notification: Performance of pre-optimization done (n=95): time 3.928e-06/1.189, allocations: 0 / 1.44 GB, free: 14.83 MB / 1.154 GB Notification: Performance of matching and sorting (n=95): time 0.007665/1.197, allocations: 2.467 MB / 1.442 GB, free: 12.36 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/1.197, allocations: 60.41 kB / 1.442 GB, free: 12.29 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/1.198, allocations: 1.193 MB / 1.443 GB, free: 11.09 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001289/1.199, allocations: 49.69 kB / 1.443 GB, free: 11.03 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005174/1.199, allocations: 0.5492 MB / 1.444 GB, free: 10.48 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003524/1.199, allocations: 345.1 kB / 1.444 GB, free: 10.14 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003509/1.2, allocations: 190.6 kB / 1.444 GB, free: 9.941 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001872/1.2, allocations: 341.9 kB / 1.445 GB, free: 9.602 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/1.202, allocations: 0.6967 MB / 1.445 GB, free: 8.906 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002348/1.204, allocations: 0.9113 MB / 1.446 GB, free: 7.93 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00427/1.209, allocations: 1.561 MB / 1.448 GB, free: 6.309 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.209, allocations: 0 / 1.448 GB, free: 6.309 MB / 1.154 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00549/1.214, allocations: 1.781 MB / 1.449 GB, free: 4.52 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/1.214, allocations: 12 kB / 1.449 GB, free: 4.508 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/1.214, allocations: 4 kB / 1.449 GB, free: 4.504 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.101e-05/1.214, allocations: 8 kB / 1.449 GB, free: 4.496 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002488/1.217, allocations: 343.4 kB / 1.45 GB, free: 4.16 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.808e-05/1.217, allocations: 11.98 kB / 1.45 GB, free: 4.148 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/1.219, allocations: 231 kB / 1.45 GB, free: 3.922 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/1.219, allocations: 47.97 kB / 1.45 GB, free: 3.875 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0008406/1.22, allocations: 347.7 kB / 1.45 GB, free: 3.527 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003974/1.22, allocations: 143.1 kB / 1.451 GB, free: 3.387 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008009/1.228, allocations: 1.803 MB / 1.452 GB, free: 1.574 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/1.229, allocations: 8 kB / 1.452 GB, free: 1.566 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.229, allocations: 4.094 kB / 1.452 GB, free: 1.562 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/1.229, allocations: 11.92 kB / 1.452 GB, free: 1.551 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/1.24, allocations: 3.325 MB / 1.456 GB, free: 14.12 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.55e-05/1.24, allocations: 4 kB / 1.456 GB, free: 14.12 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002338/1.242, allocations: 299.6 kB / 1.456 GB, free: 13.83 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.956e-05/1.242, allocations: 8 kB / 1.456 GB, free: 13.82 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001515/1.242, allocations: 31.97 kB / 1.456 GB, free: 13.79 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-05/1.242, allocations: 8 kB / 1.456 GB, free: 13.78 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.327e-06/1.242, allocations: 7.938 kB / 1.456 GB, free: 13.77 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/1.253, allocations: 2.852 MB / 1.459 GB, free: 10.86 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/1.255, allocations: 327.9 kB / 1.459 GB, free: 10.52 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/1.255, allocations: 27.98 kB / 1.459 GB, free: 10.49 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002024/1.257, allocations: 155.8 kB / 1.459 GB, free: 10.34 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002534/1.257, allocations: 68.45 kB / 1.459 GB, free: 10.27 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/1.257, allocations: 39.97 kB / 1.459 GB, free: 10.23 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.00179/1.259, allocations: 0.8353 MB / 1.46 GB, free: 9.395 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/1.259, allocations: 0 / 1.46 GB, free: 9.395 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001797/1.261, allocations: 339.7 kB / 1.46 GB, free: 9.062 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.01376/1.275, allocations: 3.851 MB / 1.464 GB, free: 5.316 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007166/1.282, allocations: 1.591 MB / 1.466 GB, free: 3.727 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.282, allocations: 0 / 1.466 GB, free: 3.727 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003595/1.285, allocations: 0.8087 MB / 1.467 GB, free: 2.914 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00442/1.29, allocations: 0.6132 MB / 1.467 GB, free: 2.309 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03942/1.329, allocations: 12.08 MB / 1.479 GB, free: 5.895 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/1.33, allocations: 1.183 MB / 1.48 GB, free: 4.684 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002337/1.333, allocations: 366 kB / 1.48 GB, free: 4.324 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/1.334, allocations: 0.4993 MB / 1.481 GB, free: 3.824 MB / 1.186 GB Notification: Performance of SimCode: time 1.222e-06/1.334, allocations: 0 / 1.481 GB, free: 3.824 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1038/1.438, allocations: 35.88 MB / 1.516 GB, free: 216 kB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/12.13, allocations: 8.062 kB / 1.516 GB, free: 208 kB / 1.217 GB " [Timeout remaining time 288] (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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: 17.978981197811663]