Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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.001612/0.001612, allocations: 114.1 kB / 17.16 MB, free: 5.895 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.001897/0.001897, allocations: 215 kB / 20.13 MB, free: 2.949 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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.948/2.948, allocations: 0.49 GB / 0.7923 GB, free: 1.293 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.Utilities.Validation.MultiMinInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger",fmuType="cs",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.002072/0.002072, allocations: 67.91 kB / 1.15 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8941/0.8962, allocations: 176.1 MB / 1.321 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001578/0.8977, allocations: 0.6136 MB / 1.322 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001438/0.8979, allocations: 13.91 kB / 1.322 GB, free: 24.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.957e-05/0.8979, allocations: 3.938 kB / 1.322 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.014e-05/0.898, allocations: 4 kB / 1.322 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.843e-05/0.8981, allocations: 2.406 kB / 1.322 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.862e-05/0.8981, allocations: 4 kB / 1.322 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.199e-05/0.8982, allocations: 30.95 kB / 1.322 GB, free: 24.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.8983, allocations: 24.98 kB / 1.322 GB, free: 24.37 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.989e-05/0.8984, allocations: 13.56 kB / 1.322 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.778e-05/0.8984, allocations: 20.36 kB / 1.322 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.8984, allocations: 6.938 kB / 1.322 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-06/0.8984, allocations: 2.719 kB / 1.322 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.8985, allocations: 10.69 kB / 1.322 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.8985, allocations: 20.67 kB / 1.322 GB, free: 24.33 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.345e-05/0.8986, allocations: 38.88 kB / 1.322 GB, free: 24.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8986, allocations: 0 / 1.322 GB, free: 24.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8986, allocations: 3.938 kB / 1.322 GB, free: 24.31 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.8986, allocations: 0 / 1.322 GB, free: 24.31 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000273/0.8988, allocations: 349.3 kB / 1.323 GB, free: 23.94 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.8989, allocations: 14.55 kB / 1.323 GB, free: 23.94 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.336e-05/0.8989, allocations: 10.66 kB / 1.323 GB, free: 23.93 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.991e-05/0.8989, allocations: 38.17 kB / 1.323 GB, free: 23.89 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.145e-05/0.8989, allocations: 3.5 kB / 1.323 GB, free: 23.89 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.8991, allocations: 183.3 kB / 1.323 GB, free: 23.68 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-06/0.8991, allocations: 7.312 kB / 1.323 GB, free: 23.68 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.8991, allocations: 2.938 kB / 1.323 GB, free: 23.68 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.8992, allocations: 82.61 kB / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.8993, allocations: 0 / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.8993, allocations: 4 kB / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.8993, allocations: 6.844 kB / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.673e-05/0.8993, allocations: 53.02 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.8997, allocations: 485 kB / 1.323 GB, free: 23.15 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.251e-05/0.8997, allocations: 169.1 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.359e-05/0.8998, allocations: 80.14 kB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.8998, allocations: 83.28 kB / 1.324 GB, free: 22.81 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.8998, allocations: 108.8 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.8998, allocations: 0 / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.174e-05/0.8999, allocations: 40.47 kB / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.8999, allocations: 130.6 kB / 1.324 GB, free: 22.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.9, allocations: 168.3 kB / 1.324 GB, free: 22.4 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.378e-06/0.9, allocations: 29.7 kB / 1.324 GB, free: 22.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.916e-05/0.9001, allocations: 93.95 kB / 1.324 GB, free: 22.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.9001, allocations: 2.375 kB / 1.324 GB, free: 22.27 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.9001, allocations: 12.09 kB / 1.324 GB, free: 22.26 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.567e-05/0.9001, allocations: 320.5 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.9001, allocations: 2.531 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.093e-05/0.9002, allocations: 9.078 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.098e-05/0.9002, allocations: 25.45 kB / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.9002, allocations: 0 / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000103/0.9003, allocations: 54.03 kB / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.9003, allocations: 7 kB / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.9003, allocations: 2.531 kB / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.9003, allocations: 3.938 kB / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.385e-05/0.9004, allocations: 5.984 kB / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.9004, allocations: 0 / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.451e-05/0.9004, allocations: 8.703 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.9004, allocations: 0 / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (mulMin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.381e-05/0.9005, allocations: 202 kB / 1.325 GB, free: 21.68 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.9005, allocations: 103.7 kB / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.9005, allocations: 114.9 kB / 1.325 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.9006, allocations: 180.2 kB / 1.325 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.209e-05/0.9006, allocations: 186.8 kB / 1.325 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/0.9006, allocations: 180.3 kB / 1.326 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.9007, allocations: 419.4 kB / 1.326 GB, free: 20.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/0.9008, allocations: 112.9 kB / 1.326 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-05/0.9008, allocations: 104.9 kB / 1.326 GB, free: 20.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.5e-05/0.9008, allocations: 186.2 kB / 1.326 GB, free: 20.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.9008, allocations: 176.3 kB / 1.327 GB, free: 19.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.167e-05/0.9008, allocations: 184.2 kB / 1.327 GB, free: 19.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-05/0.9009, allocations: 182.6 kB / 1.327 GB, free: 19.49 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.34e-05/0.9009, allocations: 312.5 kB / 1.327 GB, free: 19.17 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.901, allocations: 184.8 kB / 1.327 GB, free: 18.97 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.901, allocations: 190.3 kB / 1.328 GB, free: 18.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.897e-05/0.9011, allocations: 112.9 kB / 1.328 GB, free: 18.66 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.9011, allocations: 179 kB / 1.328 GB, free: 18.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.9011, allocations: 105.2 kB / 1.328 GB, free: 18.38 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.736e-05/0.9012, allocations: 131.2 kB / 1.328 GB, free: 18.29 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9012, allocations: 2.719 kB / 1.328 GB, free: 18.29 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002141/0.9014, allocations: 2.75 kB / 1.328 GB, free: 18.29 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002075/0.9016, allocations: 0.8174 MB / 1.329 GB, free: 17.47 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.482e-05/0.9017, allocations: 13.78 kB / 1.329 GB, free: 17.46 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.9017, allocations: 0 / 1.329 GB, free: 17.46 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.9017, allocations: 64 / 1.329 GB, free: 17.46 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.902, allocations: 471.5 kB / 1.329 GB, free: 17 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008017/0.9028, allocations: 1.482 MB / 1.331 GB, free: 15.65 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.9029, allocations: 0.6901 MB / 1.332 GB, free: 14.95 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.048e-05/0.9029, allocations: 6.188 kB / 1.332 GB, free: 14.95 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.9029, allocations: 18.31 kB / 1.332 GB, free: 14.93 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.9029, allocations: 0 / 1.332 GB, free: 14.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.9198, allocations: 1.629 MB / 1.333 GB, free: 14.56 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.318/9.237, allocations: 8.25 kB / 1.333 GB, free: 14.56 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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.669152699992992]