Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.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.001444/0.001444, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.0015/0.0015, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.529/1.529, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.845/2.845, allocations: 497.2 MB / 0.7812 GB, free: 11.96 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 63.91 kB / 1.134 GB, free: 13.19 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9042/0.9064, allocations: 173.9 MB / 1.304 GB, free: 32.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.001965/0.9083, allocations: 1.009 MB / 1.305 GB, free: 31.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.9096, allocations: 1.278 MB / 1.306 GB, free: 30.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.534e-05/0.9097, allocations: 2.812 kB / 1.306 GB, free: 30.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.91, allocations: 109.8 kB / 1.306 GB, free: 30.49 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.113e-05/0.9101, allocations: 54.97 kB / 1.306 GB, free: 30.47 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.9106, allocations: 171.5 kB / 1.306 GB, free: 30.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004205/0.911, allocations: 0.5576 MB / 1.307 GB, free: 30.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.9112, allocations: 139.5 kB / 1.307 GB, free: 30.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.9114, allocations: 227.5 kB / 1.307 GB, free: 30.03 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.9116, allocations: 199.4 kB / 1.308 GB, free: 29.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.03e-05/0.9117, allocations: 43.88 kB / 1.308 GB, free: 29.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.9118, allocations: 65.98 kB / 1.308 GB, free: 29.94 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.912, allocations: 237.6 kB / 1.308 GB, free: 29.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.9122, allocations: 203.8 kB / 1.308 GB, free: 29.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005173/0.9127, allocations: 0.6718 MB / 1.309 GB, free: 29.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.9127, allocations: 0 / 1.309 GB, free: 29.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9127, allocations: 0 / 1.309 GB, free: 29.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.9127, allocations: 6.344 kB / 1.309 GB, free: 29.5 MB / 1.061 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.0009925/0.9137, allocations: 0.7423 MB / 1.309 GB, free: 28.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.9137, allocations: 7.938 kB / 1.309 GB, free: 28.93 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.9138, allocations: 50.06 kB / 1.31 GB, free: 28.89 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.9139, allocations: 42.67 kB / 1.31 GB, free: 28.87 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006205/0.9145, allocations: 438.7 kB / 1.31 GB, free: 28.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.9145, allocations: 23.56 kB / 1.31 GB, free: 28.56 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.192e-05/0.9146, allocations: 28.88 kB / 1.31 GB, free: 28.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.915, allocations: 309.8 kB / 1.31 GB, free: 28.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.915, allocations: 3.938 kB / 1.31 GB, free: 28.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.915, allocations: 11.03 kB / 1.31 GB, free: 28.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.915, allocations: 2.906 kB / 1.31 GB, free: 28.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.9153, allocations: 264 kB / 1.311 GB, free: 28.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.9167, allocations: 0.9503 MB / 1.312 GB, free: 27.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/0.9171, allocations: 367.3 kB / 1.312 GB, free: 27.68 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.9173, allocations: 133.3 kB / 1.312 GB, free: 27.63 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.9173, allocations: 5.859 kB / 1.312 GB, free: 27.63 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/0.9176, allocations: 230.9 kB / 1.312 GB, free: 27.53 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/0.9176, allocations: 0 / 1.312 GB, free: 27.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0006127/0.9182, allocations: 484.1 kB / 1.313 GB, free: 27.35 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.9182, allocations: 58.91 kB / 1.313 GB, free: 27.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/0.9186, allocations: 473.6 kB / 1.313 GB, free: 27.08 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.9186, allocations: 35.12 kB / 1.313 GB, free: 27.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.9188, allocations: 187.8 kB / 1.313 GB, free: 26.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.9188, allocations: 60.25 kB / 1.313 GB, free: 26.85 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.9189, allocations: 112.8 kB / 1.314 GB, free: 26.81 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.363e-05/0.919, allocations: 352.3 kB / 1.314 GB, free: 26.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.9191, allocations: 91.72 kB / 1.314 GB, free: 26.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.9194, allocations: 423.6 kB / 1.314 GB, free: 26.15 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.9197, allocations: 240.4 kB / 1.315 GB, free: 26.01 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.9197, allocations: 0 / 1.315 GB, free: 26.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003637/0.92, allocations: 315.5 kB / 1.315 GB, free: 25.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.9201, allocations: 5.25 kB / 1.315 GB, free: 25.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.9201, allocations: 0 / 1.315 GB, free: 25.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.9201, allocations: 2.781 kB / 1.315 GB, free: 25.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.9202, allocations: 36.11 kB / 1.315 GB, free: 25.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.9202, allocations: 2.625 kB / 1.315 GB, free: 25.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006405/0.9209, allocations: 72.52 kB / 1.315 GB, free: 25.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.9209, allocations: 7.875 kB / 1.315 GB, free: 25.85 MB / 1.061 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.0001618/0.921, allocations: 222.3 kB / 1.315 GB, free: 25.7 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.9211, allocations: 36.89 kB / 1.315 GB, free: 25.67 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004224/0.9215, allocations: 389.7 kB / 1.316 GB, free: 25.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.9215, allocations: 3.422 kB / 1.316 GB, free: 25.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.9215, allocations: 2.625 kB / 1.316 GB, free: 25.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.9215, allocations: 0 / 1.316 GB, free: 25.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.9218, allocations: 381.9 kB / 1.316 GB, free: 25.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.9218, allocations: 0 / 1.316 GB, free: 25.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.702e-05/0.9218, allocations: 19.03 kB / 1.316 GB, free: 25.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.9218, allocations: 0 / 1.316 GB, free: 25.26 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.9219, allocations: 10 kB / 1.316 GB, free: 25.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.9219, allocations: 7.938 kB / 1.316 GB, free: 25.25 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9219, allocations: 2.625 kB / 1.316 GB, free: 25.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.9222, allocations: 396.6 kB / 1.316 GB, free: 25.06 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/0.9223, allocations: 119.8 kB / 1.317 GB, free: 24.95 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.9223, allocations: 4 kB / 1.317 GB, free: 24.94 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.9224, allocations: 12.58 kB / 1.317 GB, free: 24.94 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.9225, allocations: 18.09 kB / 1.317 GB, free: 24.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.9225, allocations: 15.88 kB / 1.317 GB, free: 24.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002581/0.9228, allocations: 343.2 kB / 1.317 GB, free: 24.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.9228, allocations: 0 / 1.317 GB, free: 24.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003091/0.9231, allocations: 76.2 kB / 1.317 GB, free: 24.75 MB / 1.061 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.0005651/0.9236, allocations: 0.9412 MB / 1.318 GB, free: 24.04 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003542/0.924, allocations: 279.1 kB / 1.318 GB, free: 23.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.924, allocations: 0 / 1.318 GB, free: 23.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.9242, allocations: 131.9 kB / 1.318 GB, free: 23.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.9244, allocations: 31.88 kB / 1.318 GB, free: 23.9 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003452/0.9279, allocations: 3.666 MB / 1.322 GB, free: 21.88 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.9282, allocations: 0.8268 MB / 1.323 GB, free: 21.16 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002128/0.9284, allocations: 85.12 kB / 1.323 GB, free: 21.15 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.9285, allocations: 103.2 kB / 1.323 GB, free: 21.07 MB / 1.061 GB Notification: Performance of SimCode: time 4.2e-07/0.9285, allocations: 0 / 1.323 GB, free: 21.07 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/0.9615, allocations: 8.276 MB / 1.331 GB, free: 20.29 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.249/9.211, allocations: 15.77 kB / 1.331 GB, free: 20.28 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.503176008816808]