Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001362/0.001362, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001479/0.001479, allocations: 214 kB / 22.25 MB, free: 5.258 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.4/1.4, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.975/2.975, allocations: 0.4893 GB / 0.7944 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_X_wSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",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.001973/0.001973, allocations: 67.77 kB / 1.153 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3168, allocations: 176.1 MB / 1.325 GB, free: 2.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2518/0.5687, allocations: 214.7 MB / 1.535 GB, free: 10.85 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01483/0.5835, allocations: 8.06 MB / 1.543 GB, free: 2.777 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/0.5854, allocations: 91.19 kB / 1.543 GB, free: 2.688 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.5881, allocations: 1.045 MB / 1.544 GB, free: 1.637 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.008339/0.5964, allocations: 3.22 MB / 1.547 GB, free: 14.4 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.00838/0.6048, allocations: 3.497 MB / 1.55 GB, free: 10.9 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005568/0.6104, allocations: 3.96 MB / 1.554 GB, free: 6.922 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002133/0.6125, allocations: 1.092 MB / 1.555 GB, free: 5.797 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004803/0.6173, allocations: 2.32 MB / 1.558 GB, free: 3.469 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0022/0.6195, allocations: 1.362 MB / 1.559 GB, free: 2.102 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002521/0.6198, allocations: 128 kB / 1.559 GB, free: 1.977 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006275/0.6261, allocations: 3.179 MB / 1.562 GB, free: 14.79 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0008044/0.6269, allocations: 0.615 MB / 1.563 GB, free: 14.17 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.628, allocations: 0.8085 MB / 1.563 GB, free: 13.36 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.006859/0.6348, allocations: 3.741 MB / 1.567 GB, free: 9.605 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6348, allocations: 0 / 1.567 GB, free: 9.605 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6348, allocations: 0 / 1.567 GB, free: 9.605 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.8e-05/0.6349, allocations: 0 / 1.567 GB, free: 9.605 MB / 1.264 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.006726/0.6416, allocations: 2.65 MB / 1.57 GB, free: 6.902 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.6416, allocations: 8.031 kB / 1.57 GB, free: 6.895 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002424/0.6419, allocations: 190.4 kB / 1.57 GB, free: 6.699 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006895/0.6488, allocations: 1.091 MB / 1.571 GB, free: 5.605 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/0.6516, allocations: 1.15 MB / 1.572 GB, free: 4.41 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.6517, allocations: 102.5 kB / 1.572 GB, free: 4.309 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/0.6519, allocations: 132 kB / 1.572 GB, free: 4.18 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004033/0.6559, allocations: 1.991 MB / 1.574 GB, free: 2.043 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/0.656, allocations: 7.938 kB / 1.574 GB, free: 2.035 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.6561, allocations: 56 kB / 1.574 GB, free: 1.98 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.63e-05/0.6562, allocations: 58.3 kB / 1.574 GB, free: 1.922 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004734/0.6609, allocations: 1.886 MB / 1.576 GB, free: 28 kB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01053/0.6714, allocations: 7.199 MB / 1.583 GB, free: 8.594 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00422/0.6756, allocations: 1.55 MB / 1.585 GB, free: 7.039 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001907/0.6776, allocations: 0.7504 MB / 1.585 GB, free: 6.289 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006757/0.6782, allocations: 136.9 kB / 1.586 GB, free: 6.156 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002133/0.6804, allocations: 0.8715 MB / 1.586 GB, free: 5.27 MB / 1.279 GB Notification: Performance of pre-optimization done (n=104): time 3.607e-06/0.6804, allocations: 0 / 1.586 GB, free: 5.27 MB / 1.279 GB Notification: Performance of matching and sorting (n=104): time 0.006423/0.6868, allocations: 2.342 MB / 1.589 GB, free: 2.922 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.6869, allocations: 76.33 kB / 1.589 GB, free: 2.836 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/0.6892, allocations: 1.729 MB / 1.59 GB, free: 1.059 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.6893, allocations: 49.69 kB / 1.591 GB, free: 1.004 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007491/0.69, allocations: 0.8519 MB / 1.591 GB, free: 148 kB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003707/0.6904, allocations: 385 kB / 1.592 GB, free: 15.76 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003882/0.6908, allocations: 242.8 kB / 1.592 GB, free: 15.52 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.6909, allocations: 357.7 kB / 1.592 GB, free: 15.17 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.6928, allocations: 0.6661 MB / 1.593 GB, free: 14.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002287/0.6951, allocations: 1.288 MB / 1.594 GB, free: 12.99 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003929/0.699, allocations: 1.727 MB / 1.596 GB, free: 11.12 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.699, allocations: 4 kB / 1.596 GB, free: 11.11 MB / 1.295 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004669/0.7037, allocations: 1.936 MB / 1.598 GB, free: 9.164 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.7037, allocations: 8 kB / 1.598 GB, free: 9.156 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.7037, allocations: 12 kB / 1.598 GB, free: 9.145 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/0.7037, allocations: 16.75 kB / 1.598 GB, free: 9.129 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.7054, allocations: 371.4 kB / 1.598 GB, free: 8.766 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.656e-05/0.7055, allocations: 23.92 kB / 1.598 GB, free: 8.742 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.7071, allocations: 250.7 kB / 1.598 GB, free: 8.496 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.7073, allocations: 71.91 kB / 1.599 GB, free: 8.426 MB / 1.295 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.0006954/0.708, allocations: 399.4 kB / 1.599 GB, free: 8.027 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/0.7082, allocations: 202.7 kB / 1.599 GB, free: 7.828 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004628/0.7129, allocations: 1.836 MB / 1.601 GB, free: 5.988 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.7129, allocations: 11.98 kB / 1.601 GB, free: 5.977 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7129, allocations: 4 kB / 1.601 GB, free: 5.973 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.7129, allocations: 3.984 kB / 1.601 GB, free: 5.969 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007943/0.7208, allocations: 3.803 MB / 1.605 GB, free: 2.012 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.7209, allocations: 7.938 kB / 1.605 GB, free: 2.004 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/0.7223, allocations: 280.4 kB / 1.605 GB, free: 1.73 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.7224, allocations: 8.094 kB / 1.605 GB, free: 1.723 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.7225, allocations: 47.91 kB / 1.605 GB, free: 1.676 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.429e-05/0.7225, allocations: 11.94 kB / 1.605 GB, free: 1.664 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.225e-05/0.7225, allocations: 11.94 kB / 1.605 GB, free: 1.652 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6342/1.357, allocations: 2.933 MB / 1.608 GB, free: 279.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/1.358, allocations: 321.6 kB / 1.608 GB, free: 279.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/1.358, allocations: 29.91 kB / 1.608 GB, free: 279.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/1.359, allocations: 124.4 kB / 1.608 GB, free: 279.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/1.36, allocations: 93.08 kB / 1.608 GB, free: 279.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.36, allocations: 47.39 kB / 1.608 GB, free: 279.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001717/1.361, allocations: 1.18 MB / 1.61 GB, free: 279.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.361, allocations: 2.875 kB / 1.61 GB, free: 279.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001372/1.363, allocations: 474.8 kB / 1.61 GB, free: 279.8 MB / 1.295 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 (110): * Single equations (assignments): 104 * 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.008336/1.371, allocations: 3.984 MB / 1.614 GB, free: 278.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004222/1.375, allocations: 1.592 MB / 1.615 GB, free: 277.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.375, allocations: 1.125 kB / 1.615 GB, free: 277.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002195/1.378, allocations: 0.7925 MB / 1.616 GB, free: 277.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004662/1.382, allocations: 0.9408 MB / 1.617 GB, free: 277.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0323/1.414, allocations: 15.07 MB / 1.632 GB, free: 270.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009216/1.415, allocations: 0.7961 MB / 1.633 GB, free: 270.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001975/1.417, allocations: 456.9 kB / 1.633 GB, free: 270.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009189/1.418, allocations: 0.718 MB / 1.634 GB, free: 269.8 MB / 1.295 GB Notification: Performance of SimCode: time 9.82e-07/1.418, allocations: 0 / 1.634 GB, free: 269.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07943/1.498, allocations: 54.02 MB / 1.687 GB, free: 223.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/14.07, allocations: 9.547 kB / 1.687 GB, free: 223.9 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.52380206482485]