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.001163/0.001163, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001218/0.001218, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.284/1.284, allocations: 225.6 MB / 249.3 MB, free: 3.34 MB / 190.1 MB " [Timeout remaining time 179] 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.597/2.597, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 177] 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.001778/0.001778, allocations: 67.89 kB / 1.135 GB, free: 13.04 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7606/0.7624, allocations: 173.6 MB / 1.305 GB, free: 33.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.001732/0.7641, allocations: 1.015 MB / 1.306 GB, free: 32.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.7653, allocations: 1.267 MB / 1.307 GB, free: 31.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.7653, allocations: 6.844 kB / 1.307 GB, free: 31.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.7656, allocations: 101.4 kB / 1.307 GB, free: 31.55 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.52e-05/0.7657, allocations: 67.92 kB / 1.307 GB, free: 31.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.7661, allocations: 175.6 kB / 1.307 GB, free: 31.42 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004415/0.7665, allocations: 0.5574 MB / 1.308 GB, free: 31.2 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.7667, allocations: 111.5 kB / 1.308 GB, free: 31.15 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.7669, allocations: 230 kB / 1.308 GB, free: 31.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.7671, allocations: 193 kB / 1.308 GB, free: 31 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.111e-05/0.7672, allocations: 42 kB / 1.308 GB, free: 31 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.7673, allocations: 68.91 kB / 1.309 GB, free: 30.99 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.7676, allocations: 243.4 kB / 1.309 GB, free: 30.9 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.7677, allocations: 204.8 kB / 1.309 GB, free: 30.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004453/0.7682, allocations: 0.6655 MB / 1.31 GB, free: 30.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7682, allocations: 0 / 1.31 GB, free: 30.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7682, allocations: 0 / 1.31 GB, free: 30.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.7682, allocations: 0 / 1.31 GB, free: 30.55 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.0008873/0.7691, allocations: 0.7459 MB / 1.31 GB, free: 29.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.7691, allocations: 8.844 kB / 1.31 GB, free: 29.98 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.546e-05/0.7692, allocations: 54.08 kB / 1.31 GB, free: 29.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.7693, allocations: 47.05 kB / 1.31 GB, free: 29.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.7697, allocations: 439.5 kB / 1.311 GB, free: 29.6 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.7697, allocations: 23.12 kB / 1.311 GB, free: 29.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.858e-05/0.7698, allocations: 31.41 kB / 1.311 GB, free: 29.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.7701, allocations: 303.7 kB / 1.311 GB, free: 29.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.7701, allocations: 3.938 kB / 1.311 GB, free: 29.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.7701, allocations: 14.28 kB / 1.311 GB, free: 29.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.7702, allocations: 6.656 kB / 1.311 GB, free: 29.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.7704, allocations: 259.2 kB / 1.311 GB, free: 29.37 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.7715, allocations: 0.9482 MB / 1.312 GB, free: 28.85 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004839/0.772, allocations: 369.8 kB / 1.313 GB, free: 28.71 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.7722, allocations: 137.5 kB / 1.313 GB, free: 28.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.7722, allocations: 2.5 kB / 1.313 GB, free: 28.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.7724, allocations: 228.9 kB / 1.313 GB, free: 28.56 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.7724, allocations: 0 / 1.313 GB, free: 28.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0005812/0.773, allocations: 486.7 kB / 1.314 GB, free: 28.38 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.773, allocations: 61.16 kB / 1.314 GB, free: 28.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.7734, allocations: 476.2 kB / 1.314 GB, free: 28.11 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.7734, allocations: 32.58 kB / 1.314 GB, free: 28.08 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.7735, allocations: 185.9 kB / 1.314 GB, free: 27.92 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.7736, allocations: 60.3 kB / 1.314 GB, free: 27.88 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.7737, allocations: 112.4 kB / 1.314 GB, free: 27.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.316e-05/0.7737, allocations: 345.2 kB / 1.315 GB, free: 27.51 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.7738, allocations: 98.16 kB / 1.315 GB, free: 27.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.7742, allocations: 425 kB / 1.315 GB, free: 27.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.7744, allocations: 244.2 kB / 1.316 GB, free: 27.04 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7744, allocations: 0 / 1.316 GB, free: 27.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003464/0.7747, allocations: 306.5 kB / 1.316 GB, free: 26.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.7747, allocations: 10.03 kB / 1.316 GB, free: 26.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.7747, allocations: 2.844 kB / 1.316 GB, free: 26.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.7748, allocations: 0 / 1.316 GB, free: 26.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.7749, allocations: 39.27 kB / 1.316 GB, free: 26.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.7749, allocations: 2.281 kB / 1.316 GB, free: 26.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006479/0.7755, allocations: 71.25 kB / 1.316 GB, free: 26.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.7756, allocations: 8.344 kB / 1.316 GB, free: 26.88 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.0001551/0.7757, allocations: 225.1 kB / 1.316 GB, free: 26.72 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.7757, allocations: 39.31 kB / 1.316 GB, free: 26.7 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003955/0.7761, allocations: 381.4 kB / 1.317 GB, free: 26.55 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.7761, allocations: 2.656 kB / 1.317 GB, free: 26.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.7761, allocations: 0 / 1.317 GB, free: 26.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.7762, allocations: 2.375 kB / 1.317 GB, free: 26.55 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.7764, allocations: 380.9 kB / 1.317 GB, free: 26.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.7764, allocations: 2.625 kB / 1.317 GB, free: 26.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.519e-05/0.7765, allocations: 30.88 kB / 1.317 GB, free: 26.28 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.7765, allocations: 0 / 1.317 GB, free: 26.28 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.7765, allocations: 5.812 kB / 1.317 GB, free: 26.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.7765, allocations: 4 kB / 1.317 GB, free: 26.27 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7765, allocations: 2.625 kB / 1.317 GB, free: 26.27 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.7768, allocations: 395.1 kB / 1.317 GB, free: 26.09 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.347e-05/0.7769, allocations: 127.6 kB / 1.317 GB, free: 25.97 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.7769, allocations: 0 / 1.317 GB, free: 25.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.777, allocations: 16.52 kB / 1.317 GB, free: 25.96 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.7771, allocations: 15.34 kB / 1.318 GB, free: 25.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.7771, allocations: 7.875 kB / 1.318 GB, free: 25.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002469/0.7773, allocations: 350.7 kB / 1.318 GB, free: 25.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.7773, allocations: 0 / 1.318 GB, free: 25.8 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002915/0.7776, allocations: 68.31 kB / 1.318 GB, free: 25.79 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.0005491/0.7782, allocations: 0.9474 MB / 1.319 GB, free: 25.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003217/0.7785, allocations: 258.9 kB / 1.319 GB, free: 24.99 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.7785, allocations: 0 / 1.319 GB, free: 24.99 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.7786, allocations: 139 kB / 1.319 GB, free: 24.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.7789, allocations: 32.11 kB / 1.319 GB, free: 24.94 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/0.7819, allocations: 3.658 MB / 1.323 GB, free: 22.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.7821, allocations: 0.8282 MB / 1.324 GB, free: 22.2 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001775/0.7823, allocations: 80.78 kB / 1.324 GB, free: 22.2 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.7824, allocations: 106.6 kB / 1.324 GB, free: 22.12 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.7824, allocations: 3.938 kB / 1.324 GB, free: 22.11 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03191/0.8143, allocations: 8.254 MB / 1.332 GB, free: 21.31 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.414/8.229, allocations: 8.531 kB / 1.332 GB, free: 21.3 MB / 1.061 GB " [Timeout remaining time 292] (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 --timeout=400 --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 420.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/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: 13.670727116001217]