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.001301/0.001301, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001597/0.001597, allocations: 220.2 kB / 22.25 MB, free: 5.102 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.458/1.458, 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 3.168/3.168, allocations: 0.49 GB / 0.7951 GB, free: 35.59 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.001959/0.001959, allocations: 69.92 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3033, allocations: 176.1 MB / 1.326 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002235/0.3055, allocations: 0.9574 MB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001858/0.3074, allocations: 1.28 MB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.3075, allocations: 4 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003952/0.3079, allocations: 115.5 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.308, allocations: 55.73 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.3086, allocations: 182.5 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006769/0.3093, allocations: 0.5422 MB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.3095, allocations: 116.2 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.3098, allocations: 235.5 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003094/0.3101, allocations: 195.4 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.312e-05/0.3102, allocations: 36 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.3104, allocations: 79.95 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003686/0.3107, allocations: 235.5 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.311, allocations: 179.2 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007823/0.3118, allocations: 0.666 MB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3118, allocations: 3.984 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3118, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.3118, allocations: 0 / 1.331 GB, free: 12.68 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.001269/0.313, allocations: 0.6573 MB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3131, allocations: 8.031 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.177e-05/0.3131, allocations: 62.72 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.3133, allocations: 40.7 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007255/0.314, allocations: 378.7 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.314, allocations: 24.81 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.782e-05/0.3141, allocations: 32.36 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.3146, allocations: 307.7 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3147, allocations: 3.938 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.3147, allocations: 8 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3147, allocations: 4 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004045/0.3151, allocations: 257.6 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.3167, allocations: 0.8252 MB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006525/0.3174, allocations: 366.3 kB / 1.333 GB, free: 9.609 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.3176, allocations: 136.7 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3176, allocations: 4 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003374/0.3179, allocations: 228.7 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 2.053e-06/0.3179, allocations: 3.938 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0007998/0.3187, allocations: 491 kB / 1.334 GB, free: 8.746 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.3188, allocations: 55.41 kB / 1.334 GB, free: 8.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/0.3193, allocations: 477.6 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.072e-05/0.3194, allocations: 33.81 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.3196, allocations: 188.9 kB / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.702e-05/0.3196, allocations: 59.53 kB / 1.335 GB, free: 7.914 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.3198, allocations: 109.6 kB / 1.335 GB, free: 7.801 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.32, allocations: 346.8 kB / 1.335 GB, free: 7.453 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.3201, allocations: 99.89 kB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007887/0.3209, allocations: 0.963 MB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.3212, allocations: 235 kB / 1.337 GB, free: 5.918 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3212, allocations: 0 / 1.337 GB, free: 5.918 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004835/0.3217, allocations: 318.5 kB / 1.337 GB, free: 5.602 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3217, allocations: 8 kB / 1.337 GB, free: 5.594 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.3217, allocations: 8.172 kB / 1.337 GB, free: 5.586 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3217, allocations: 4 kB / 1.337 GB, free: 5.582 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.3219, allocations: 27.98 kB / 1.337 GB, free: 5.555 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.3219, allocations: 3.938 kB / 1.337 GB, free: 5.551 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007979/0.3227, allocations: 68.8 kB / 1.337 GB, free: 5.484 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.3227, allocations: 8 kB / 1.337 GB, free: 5.477 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.0002469/0.323, allocations: 232.6 kB / 1.337 GB, free: 5.242 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.323, allocations: 31.77 kB / 1.337 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000576/0.3236, allocations: 390.7 kB / 1.338 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3236, allocations: 4 kB / 1.338 GB, free: 4.824 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3236, allocations: 0 / 1.338 GB, free: 4.824 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3236, allocations: 4 kB / 1.338 GB, free: 4.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.324, allocations: 316.5 kB / 1.338 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.324, allocations: 0 / 1.338 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.3241, allocations: 23.92 kB / 1.338 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3241, allocations: 3.984 kB / 1.338 GB, free: 4.441 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.3241, allocations: 8 kB / 1.338 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3241, allocations: 7.938 kB / 1.338 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3241, allocations: 0 / 1.338 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.3246, allocations: 396.7 kB / 1.339 GB, free: 4.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.189e-05/0.3247, allocations: 39.75 kB / 1.339 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.3247, allocations: 3.984 kB / 1.339 GB, free: 3.977 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.3248, allocations: 8 kB / 1.339 GB, free: 3.969 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.3249, allocations: 19.97 kB / 1.339 GB, free: 3.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.3249, allocations: 8 kB / 1.339 GB, free: 3.941 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003809/0.3253, allocations: 339.1 kB / 1.339 GB, free: 3.613 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3253, allocations: 0 / 1.339 GB, free: 3.613 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003381/0.3256, allocations: 87.81 kB / 1.339 GB, free: 3.527 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.000896/0.3265, allocations: 0.9459 MB / 1.34 GB, free: 2.551 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004503/0.327, allocations: 267.3 kB / 1.34 GB, free: 2.293 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.327, allocations: 0 / 1.34 GB, free: 2.293 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.3272, allocations: 135.9 kB / 1.34 GB, free: 2.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.3274, allocations: 23.31 kB / 1.34 GB, free: 2.141 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004356/0.3318, allocations: 3.687 MB / 1.344 GB, free: 14.33 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.332, allocations: 211.8 kB / 1.344 GB, free: 14.1 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001844/0.3322, allocations: 78.23 kB / 1.344 GB, free: 14.02 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.3324, allocations: 107.4 kB / 1.344 GB, free: 13.92 MB / 1.045 GB Notification: Performance of SimCode: time 6.31e-07/0.3324, allocations: 0 / 1.344 GB, free: 13.92 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03631/0.3687, allocations: 9.265 MB / 1.353 GB, free: 4.906 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.74, allocations: 3.047 kB / 1.353 GB, free: 4.906 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.349943975015776]