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.0007913/0.0007913, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009096/0.0009096, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8641/0.8641, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.66/1.66, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.594e-06/2.594e-06, allocations: 0 / 0.9809 GB, free: 2.652 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.242e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.648 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.001611/0.001634, allocations: 0.9503 MB / 0.9819 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.002921, allocations: 1.283 MB / 0.9831 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.985e-05/0.003001, allocations: 0 / 0.9831 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.003352, allocations: 111.5 kB / 0.9832 GB, free: 300 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.582e-05/0.003418, allocations: 63.67 kB / 0.9833 GB, free: 236 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.003809, allocations: 181.9 kB / 0.9834 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.000519/0.004328, allocations: 0.5539 MB / 0.984 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.004499, allocations: 112.3 kB / 0.9841 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.004698, allocations: 291.6 kB / 0.9844 GB, free: 15.11 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.004897, allocations: 191.6 kB / 0.9846 GB, free: 14.92 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.159e-05/0.004949, allocations: 36 kB / 0.9846 GB, free: 14.88 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.005076, allocations: 75.89 kB / 0.9847 GB, free: 14.81 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.005272, allocations: 239.4 kB / 0.9849 GB, free: 14.57 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.005382, allocations: 151.7 kB / 0.985 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.005847, allocations: 0.7129 MB / 0.9857 GB, free: 13.71 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.005848, allocations: 0 / 0.9857 GB, free: 13.71 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005849, allocations: 0 / 0.9857 GB, free: 13.71 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.005855, allocations: 0 / 0.9857 GB, free: 13.71 MB / 0.948 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.0008213/0.006676, allocations: 0.6592 MB / 0.9864 GB, free: 13.02 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.006713, allocations: 16.03 kB / 0.9864 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.533e-05/0.006758, allocations: 54.73 kB / 0.9864 GB, free: 12.94 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.163e-05/0.00684, allocations: 40.7 kB / 0.9865 GB, free: 12.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.00725, allocations: 386 kB / 0.9869 GB, free: 12.49 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.007273, allocations: 20.88 kB / 0.9869 GB, free: 12.47 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.007321, allocations: 32.38 kB / 0.9869 GB, free: 12.44 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.007634, allocations: 308.5 kB / 0.9872 GB, free: 12.14 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.007644, allocations: 8.125 kB / 0.9872 GB, free: 12.13 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.007661, allocations: 8.375 kB / 0.9872 GB, free: 12.12 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.007669, allocations: 8.125 kB / 0.9872 GB, free: 12.11 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002548/0.007923, allocations: 261.8 kB / 0.9875 GB, free: 11.86 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009412/0.008865, allocations: 0.8216 MB / 0.9883 GB, free: 10.99 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.009311, allocations: 369.6 kB / 0.9886 GB, free: 10.62 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.009435, allocations: 128.8 kB / 0.9887 GB, free: 10.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.009457, allocations: 7.938 kB / 0.9888 GB, free: 10.49 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.00968, allocations: 227.2 kB / 0.989 GB, free: 10.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.009682, allocations: 0 / 0.989 GB, free: 10.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.0005139/0.0102, allocations: 487.4 kB / 0.9894 GB, free: 9.773 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.01023, allocations: 63.34 kB / 0.9895 GB, free: 9.699 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.01059, allocations: 473.6 kB / 0.9899 GB, free: 9.227 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.01063, allocations: 41.64 kB / 0.99 GB, free: 9.18 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.01074, allocations: 185 kB / 0.9902 GB, free: 8.996 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.01078, allocations: 63.53 kB / 0.9902 GB, free: 8.934 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.921e-05/0.01088, allocations: 117.5 kB / 0.9903 GB, free: 8.812 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.466e-05/0.01097, allocations: 342.8 kB / 0.9907 GB, free: 8.469 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.986e-05/0.01106, allocations: 95.94 kB / 0.9908 GB, free: 8.375 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005147/0.01158, allocations: 0.9708 MB / 0.9917 GB, free: 7.18 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.01177, allocations: 233.8 kB / 0.9919 GB, free: 6.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01177, allocations: 0 / 0.9919 GB, free: 6.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003402/0.01211, allocations: 311.7 kB / 0.9922 GB, free: 6.621 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.01213, allocations: 8 kB / 0.9922 GB, free: 6.613 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.01214, allocations: 8.125 kB / 0.9922 GB, free: 6.605 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.01215, allocations: 4 kB / 0.9922 GB, free: 6.602 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.01225, allocations: 31.98 kB / 0.9923 GB, free: 6.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.01225, allocations: 7.922 kB / 0.9923 GB, free: 6.562 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.0126, allocations: 71.75 kB / 0.9924 GB, free: 6.492 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.01261, allocations: 12 kB / 0.9924 GB, free: 6.48 MB / 0.948 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.0001576/0.01277, allocations: 226.2 kB / 0.9926 GB, free: 6.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.0128, allocations: 27.81 kB / 0.9926 GB, free: 6.223 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003698/0.01317, allocations: 386.5 kB / 0.993 GB, free: 5.844 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.01317, allocations: 4 kB / 0.993 GB, free: 5.84 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01318, allocations: 0 / 0.993 GB, free: 5.84 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01318, allocations: 0 / 0.993 GB, free: 5.84 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.0134, allocations: 320.5 kB / 0.9933 GB, free: 5.484 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.0134, allocations: 0 / 0.9933 GB, free: 5.484 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.215e-05/0.01345, allocations: 19.98 kB / 0.9933 GB, free: 5.465 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01345, allocations: 0 / 0.9933 GB, free: 5.465 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.01347, allocations: 8 kB / 0.9933 GB, free: 5.457 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01347, allocations: 4 kB / 0.9933 GB, free: 5.453 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.01347, allocations: 11.88 kB / 0.9933 GB, free: 5.441 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.01378, allocations: 397.2 kB / 0.9937 GB, free: 5.035 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.01382, allocations: 35.75 kB / 0.9937 GB, free: 5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.01384, allocations: 8 kB / 0.9937 GB, free: 4.992 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.275e-05/0.01389, allocations: 7.984 kB / 0.9938 GB, free: 4.984 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.543e-05/0.01394, allocations: 19.97 kB / 0.9938 GB, free: 4.965 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.01395, allocations: 8 kB / 0.9938 GB, free: 4.957 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002448/0.0142, allocations: 343.1 kB / 0.9941 GB, free: 4.625 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/0.0142, allocations: 0 / 0.9941 GB, free: 4.625 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002119/0.01441, allocations: 79.89 kB / 0.9942 GB, free: 4.547 MB / 0.948 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.0005449/0.01495, allocations: 0.9428 MB / 0.9951 GB, free: 3.578 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002802/0.01523, allocations: 259.7 kB / 0.9954 GB, free: 3.324 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01523, allocations: 0 / 0.9954 GB, free: 3.324 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.01535, allocations: 142.6 kB / 0.9955 GB, free: 3.188 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.01553, allocations: 33.47 kB / 0.9955 GB, free: 3.156 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.01834, allocations: 3.678 MB / 0.9991 GB, free: 15.35 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.01848, allocations: 219.8 kB / 0.9993 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000114/0.0186, allocations: 78.23 kB / 0.9994 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.01871, allocations: 104.5 kB / 0.9995 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of SimCode: time 6.61e-07/0.01871, allocations: 0 / 0.9995 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.03868, allocations: 9.331 MB / 1.009 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.602/6.641, allocations: 2.406 kB / 1.009 GB, free: 5.871 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.53084493149072]