Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.001281/0.001281, allocations: 116.8 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001358/0.001358, allocations: 212 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.441/1.441, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.007/3.007, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_X_wSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.89 kB / 1.165 GB, free: 440 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9073/0.9092, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2948/1.204, allocations: 245.7 MB / 1.58 GB, free: 2.184 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01466/1.219, allocations: 8.523 MB / 1.588 GB, free: 9.641 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/1.221, allocations: 99.06 kB / 1.589 GB, free: 9.543 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.002785/1.224, allocations: 1.076 MB / 1.59 GB, free: 8.461 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.008006/1.232, allocations: 3.24 MB / 1.593 GB, free: 5.207 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.009717/1.241, allocations: 3.489 MB / 1.596 GB, free: 1.711 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.006632/1.248, allocations: 3.944 MB / 1.6 GB, free: 13.75 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/1.25, allocations: 1.17 MB / 1.601 GB, free: 12.55 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004955/1.255, allocations: 2.297 MB / 1.603 GB, free: 10.25 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/1.257, allocations: 1.44 MB / 1.605 GB, free: 8.801 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0002233/1.257, allocations: 128 kB / 1.605 GB, free: 8.676 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007392/1.265, allocations: 4.177 MB / 1.609 GB, free: 4.488 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0007397/1.265, allocations: 0.5956 MB / 1.61 GB, free: 3.891 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001297/1.267, allocations: 0.9947 MB / 1.611 GB, free: 2.891 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.007594/1.274, allocations: 3.866 MB / 1.614 GB, free: 15.01 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.274, allocations: 0 / 1.614 GB, free: 15.01 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.523e-06/1.274, allocations: 0 / 1.614 GB, free: 15.01 MB / 1.295 GB Notification: Performance of Transformations before backend: time 2.504e-05/1.274, allocations: 0 / 1.614 GB, free: 15.01 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.00622/1.28, allocations: 2.735 MB / 1.617 GB, free: 12.21 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/1.28, allocations: 8.031 kB / 1.617 GB, free: 12.2 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.036e-05/1.281, allocations: 34.56 kB / 1.617 GB, free: 12.16 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000237/1.281, allocations: 198.3 kB / 1.617 GB, free: 11.96 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006989/1.288, allocations: 1.099 MB / 1.618 GB, free: 10.86 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/1.29, allocations: 1.272 MB / 1.62 GB, free: 9.535 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-05/1.29, allocations: 102.6 kB / 1.62 GB, free: 9.434 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002313/1.29, allocations: 131.9 kB / 1.62 GB, free: 9.305 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004054/1.294, allocations: 1.975 MB / 1.622 GB, free: 7.188 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/1.295, allocations: 11.88 kB / 1.622 GB, free: 7.176 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/1.295, allocations: 56 kB / 1.622 GB, free: 7.121 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.463e-05/1.295, allocations: 62.3 kB / 1.622 GB, free: 7.059 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004916/1.3, allocations: 1.874 MB / 1.624 GB, free: 5.176 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/1.311, allocations: 9.179 MB / 1.633 GB, free: 11.36 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004396/1.316, allocations: 1.539 MB / 1.634 GB, free: 9.82 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00198/1.317, allocations: 0.7548 MB / 1.635 GB, free: 9.066 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009861/1.318, allocations: 0.5854 MB / 1.635 GB, free: 8.371 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002306/1.321, allocations: 0.8637 MB / 1.636 GB, free: 7.492 MB / 1.311 GB Notification: Performance of pre-optimization done (n=104): time 3.998e-06/1.321, allocations: 0 / 1.636 GB, free: 7.492 MB / 1.311 GB Notification: Performance of matching and sorting (n=104): time 0.006901/1.328, allocations: 2.322 MB / 1.639 GB, free: 5.168 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/1.328, allocations: 68.39 kB / 1.639 GB, free: 5.09 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002418/1.33, allocations: 1.694 MB / 1.64 GB, free: 3.348 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0001384/1.33, allocations: 49.7 kB / 1.64 GB, free: 3.293 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007741/1.331, allocations: 0.8519 MB / 1.641 GB, free: 2.434 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003934/1.331, allocations: 380.8 kB / 1.642 GB, free: 2.059 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004108/1.332, allocations: 246.8 kB / 1.642 GB, free: 1.812 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.332, allocations: 353.9 kB / 1.642 GB, free: 1.461 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/1.334, allocations: 0.6622 MB / 1.643 GB, free: 0.7969 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002296/1.336, allocations: 1.055 MB / 1.644 GB, free: 15.58 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004152/1.34, allocations: 1.711 MB / 1.645 GB, free: 13.71 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.34, allocations: 4 kB / 1.645 GB, free: 13.71 MB / 1.326 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005013/1.346, allocations: 1.925 MB / 1.647 GB, free: 11.78 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/1.346, allocations: 13.56 kB / 1.647 GB, free: 11.77 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/1.346, allocations: 8 kB / 1.647 GB, free: 11.76 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.272e-05/1.346, allocations: 20 kB / 1.647 GB, free: 11.74 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/1.347, allocations: 363.9 kB / 1.648 GB, free: 11.38 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.049e-05/1.347, allocations: 27.92 kB / 1.648 GB, free: 11.36 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/1.349, allocations: 242.7 kB / 1.648 GB, free: 11.12 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/1.349, allocations: 79.84 kB / 1.648 GB, free: 11.04 MB / 1.326 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (157): * Single equations (assignments): 157 * 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.0006832/1.35, allocations: 391.6 kB / 1.648 GB, free: 10.65 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003326/1.35, allocations: 206.7 kB / 1.649 GB, free: 10.45 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004821/1.355, allocations: 1.782 MB / 1.65 GB, free: 8.656 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/1.355, allocations: 12 kB / 1.65 GB, free: 8.645 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.355, allocations: 0 / 1.65 GB, free: 8.645 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/1.355, allocations: 7.969 kB / 1.65 GB, free: 8.637 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007938/1.363, allocations: 3.937 MB / 1.654 GB, free: 4.543 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/1.363, allocations: 7.938 kB / 1.654 GB, free: 4.535 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/1.365, allocations: 271.7 kB / 1.654 GB, free: 4.27 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.645e-05/1.365, allocations: 12 kB / 1.654 GB, free: 4.258 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/1.365, allocations: 35.97 kB / 1.655 GB, free: 4.223 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.625e-05/1.365, allocations: 11.94 kB / 1.655 GB, free: 4.211 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/1.365, allocations: 11.94 kB / 1.655 GB, free: 4.199 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006898/1.372, allocations: 2.879 MB / 1.657 GB, free: 1.215 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008304/1.373, allocations: 395.4 kB / 1.658 GB, free: 0.8086 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/1.373, allocations: 32 kB / 1.658 GB, free: 0.7773 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/1.374, allocations: 119.9 kB / 1.658 GB, free: 0.6602 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/1.374, allocations: 84.44 kB / 1.658 GB, free: 0.5781 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/1.374, allocations: 43.97 kB / 1.658 GB, free: 0.5352 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001646/1.376, allocations: 1.151 MB / 1.659 GB, free: 15.36 MB / 1.342 GB Notification: Performance of sort global known variables: time 7e-08/1.376, allocations: 0 / 1.659 GB, free: 15.36 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.001416/1.377, allocations: 479.4 kB / 1.66 GB, free: 14.89 MB / 1.342 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (104): * Single equations (assignments): 98 * 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.008959/1.386, allocations: 3.899 MB / 1.663 GB, free: 11.04 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.004426/1.391, allocations: 1.57 MB / 1.665 GB, free: 9.469 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.391, allocations: 4 kB / 1.665 GB, free: 9.465 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.002102/1.393, allocations: 0.7624 MB / 1.666 GB, free: 8.699 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004267/1.397, allocations: 0.9334 MB / 1.667 GB, free: 7.781 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03288/1.43, allocations: 15.03 MB / 1.681 GB, free: 8.043 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/1.431, allocations: 1.368 MB / 1.683 GB, free: 6.645 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.001836/1.433, allocations: 458.6 kB / 1.683 GB, free: 6.191 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/1.435, allocations: 0.7179 MB / 1.684 GB, free: 5.473 MB / 1.357 GB Notification: Performance of SimCode: time 1.262e-06/1.435, allocations: 3.938 kB / 1.684 GB, free: 5.469 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09048/1.525, allocations: 49.36 MB / 1.732 GB, free: 4.73 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/13.25, allocations: 14.69 kB / 1.732 GB, free: 4.719 MB / 1.404 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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: 20.043897740950342]