Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.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.001411/0.001411, allocations: 105 kB / 16.45 MB, free: 6.488 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.001477/0.001477, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.52/1.52, allocations: 230.6 MB / 252.8 MB, free: 8.965 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 3.266/3.266, allocations: 0.49 GB / 0.7916 GB, free: 33.26 MB / 0.6231 GB " [Timeout remaining time 176] 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.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint",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.002119/0.002119, allocations: 68.67 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3109, allocations: 176.1 MB / 1.321 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002218/0.3131, allocations: 1.004 MB / 1.322 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.3148, allocations: 1.291 MB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.3149, allocations: 7.938 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.3152, allocations: 107.6 kB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.3153, allocations: 67.72 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.3159, allocations: 170.1 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006404/0.3165, allocations: 0.55 MB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002443/0.3167, allocations: 151.7 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002676/0.317, allocations: 227.6 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.3173, allocations: 195.4 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.137e-05/0.3174, allocations: 39.94 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.3175, allocations: 71.95 kB / 1.325 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003025/0.3178, allocations: 235.5 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.3181, allocations: 207 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006915/0.3188, allocations: 0.6621 MB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3188, allocations: 0 / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3188, allocations: 0 / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.3188, allocations: 0 / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001227/0.32, allocations: 0.7403 MB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.32, allocations: 19.92 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.935e-05/0.3201, allocations: 58.73 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.3202, allocations: 40.7 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006274/0.3209, allocations: 444.5 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.3209, allocations: 24.81 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.044e-05/0.321, allocations: 32.36 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.3215, allocations: 307.7 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3215, allocations: 3.938 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.3215, allocations: 4 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3215, allocations: 8 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000407/0.3219, allocations: 261.5 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.3235, allocations: 0.9469 MB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.3241, allocations: 366.4 kB / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.3243, allocations: 128.8 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.3244, allocations: 7.984 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000344/0.3247, allocations: 227.1 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.3247, allocations: 0 / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0008101/0.3255, allocations: 483.3 kB / 1.33 GB, free: 10.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.3256, allocations: 59.41 kB / 1.33 GB, free: 10.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005579/0.3261, allocations: 473.6 kB / 1.33 GB, free: 9.605 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.051e-05/0.3262, allocations: 33.7 kB / 1.33 GB, free: 9.566 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.3264, allocations: 193 kB / 1.33 GB, free: 9.375 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.25e-05/0.3265, allocations: 63.53 kB / 1.33 GB, free: 9.312 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.3266, allocations: 113.5 kB / 1.33 GB, free: 9.195 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3268, allocations: 346.8 kB / 1.331 GB, free: 8.848 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.327, allocations: 99.88 kB / 1.331 GB, free: 8.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005272/0.3275, allocations: 419.6 kB / 1.331 GB, free: 8.254 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.3278, allocations: 235.8 kB / 1.332 GB, free: 8.004 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3278, allocations: 4 kB / 1.332 GB, free: 8 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004956/0.3283, allocations: 310.9 kB / 1.332 GB, free: 7.691 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3283, allocations: 6.5 kB / 1.332 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3283, allocations: 4 kB / 1.332 GB, free: 7.684 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3284, allocations: 0 / 1.332 GB, free: 7.684 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.3285, allocations: 35.92 kB / 1.332 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.3285, allocations: 4 kB / 1.332 GB, free: 7.645 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007508/0.3293, allocations: 75.97 kB / 1.332 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.3293, allocations: 4 kB / 1.332 GB, free: 7.566 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,u1Equ.intTimTab.idx,$PRE.u1Equ.intTimTab.idx,u1Equ.intTimTab.y[2],$PRE.u1Equ.intTimTab.y[2],u1Equ.intTimTab.y[1],$PRE.u1Equ.intTimTab.y[1],u1Equ.y[2],u1Equ.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0002507/0.3295, allocations: 225.6 kB / 1.332 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.3296, allocations: 35.77 kB / 1.332 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005763/0.3302, allocations: 391.9 kB / 1.333 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3302, allocations: 8 kB / 1.333 GB, free: 6.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3302, allocations: 0 / 1.333 GB, free: 6.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3302, allocations: 0 / 1.333 GB, free: 6.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000406/0.3306, allocations: 393.2 kB / 1.333 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3306, allocations: 0 / 1.333 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.546e-05/0.3307, allocations: 23.94 kB / 1.333 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3307, allocations: 0 / 1.333 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.3307, allocations: 7.984 kB / 1.333 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3307, allocations: 0 / 1.333 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3307, allocations: 0 / 1.333 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.3312, allocations: 400.6 kB / 1.333 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.826e-05/0.3313, allocations: 112.9 kB / 1.333 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.3314, allocations: 4 kB / 1.333 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.3315, allocations: 11.98 kB / 1.333 GB, free: 5.891 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.3316, allocations: 19.92 kB / 1.334 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.3316, allocations: 11.98 kB / 1.334 GB, free: 5.859 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003849/0.332, allocations: 343.1 kB / 1.334 GB, free: 5.523 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.332, allocations: 0 / 1.334 GB, free: 5.523 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003595/0.3323, allocations: 79.83 kB / 1.334 GB, free: 5.445 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,u1Equ.y[1],u1Equ.y[2],u1Equ.intTimTab.y[1],u1Equ.intTimTab.y[2],u1Equ.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008902/0.3332, allocations: 0.9421 MB / 1.335 GB, free: 4.473 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004413/0.3337, allocations: 260 kB / 1.335 GB, free: 4.219 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3337, allocations: 4.062 kB / 1.335 GB, free: 4.215 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.3339, allocations: 137.4 kB / 1.335 GB, free: 4.082 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.3341, allocations: 37.36 kB / 1.335 GB, free: 4.047 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004693/0.3388, allocations: 3.67 MB / 1.339 GB, free: 260 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.3393, allocations: 0.8302 MB / 1.34 GB, free: 15.39 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001945/0.3395, allocations: 78.25 kB / 1.34 GB, free: 15.31 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.3397, allocations: 107.4 kB / 1.34 GB, free: 15.21 MB / 1.045 GB Notification: Performance of SimCode: time 6.11e-07/0.3397, allocations: 0 / 1.34 GB, free: 15.21 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.3725, allocations: 8.273 MB / 1.348 GB, free: 7.152 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.324/8.697, allocations: 12.08 kB / 1.348 GB, free: 7.145 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.fmu > Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.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: 15.436743840808049]