Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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.001316/0.001316, allocations: 102.9 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.001481/0.001481, 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.442/1.442, allocations: 225.6 MB / 247.8 MB, free: 3.734 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.833/2.833, allocations: 497.2 MB / 0.7812 GB, free: 11.96 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.Utilities.Validation.MultiMinInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 63.91 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8798/0.8819, allocations: 173.9 MB / 1.304 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.002148/0.8841, allocations: 0.6158 MB / 1.305 GB, free: 31.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001719/0.8842, allocations: 7.094 kB / 1.305 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.609e-05/0.8843, allocations: 0 / 1.305 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.8844, allocations: 10.22 kB / 1.305 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.839e-05/0.8844, allocations: 0 / 1.305 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.637e-05/0.8845, allocations: 0 / 1.305 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.8846, allocations: 27.03 kB / 1.305 GB, free: 31.72 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.8848, allocations: 36.38 kB / 1.305 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.415e-05/0.8848, allocations: 12.61 kB / 1.305 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.278e-05/0.8848, allocations: 25.05 kB / 1.305 GB, free: 31.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.8849, allocations: 2.625 kB / 1.305 GB, free: 31.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.8849, allocations: 3.219 kB / 1.305 GB, free: 31.68 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.8849, allocations: 6.5 kB / 1.305 GB, free: 31.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.8849, allocations: 17.12 kB / 1.305 GB, free: 31.67 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.885, allocations: 53.17 kB / 1.305 GB, free: 31.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.885, allocations: 0 / 1.305 GB, free: 31.64 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.175e-06/0.885, allocations: 4 kB / 1.305 GB, free: 31.64 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.8851, allocations: 0 / 1.305 GB, free: 31.64 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.000323/0.8854, allocations: 348 kB / 1.305 GB, free: 31.27 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.8854, allocations: 8.062 kB / 1.305 GB, free: 31.27 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.146e-05/0.8855, allocations: 33.28 kB / 1.305 GB, free: 31.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.8855, allocations: 7.578 kB / 1.305 GB, free: 31.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.8857, allocations: 188.5 kB / 1.305 GB, free: 31.02 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.8857, allocations: 3.531 kB / 1.305 GB, free: 31.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.8857, allocations: 7 kB / 1.305 GB, free: 31.02 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.8859, allocations: 85.03 kB / 1.305 GB, free: 30.96 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.8859, allocations: 3.938 kB / 1.305 GB, free: 30.96 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.8859, allocations: 0 / 1.305 GB, free: 30.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.8859, allocations: 3.094 kB / 1.305 GB, free: 30.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.563e-05/0.886, allocations: 44.88 kB / 1.305 GB, free: 30.95 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.8863, allocations: 487.4 kB / 1.306 GB, free: 30.5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.925e-05/0.8864, allocations: 171.6 kB / 1.306 GB, free: 30.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.8864, allocations: 84.14 kB / 1.306 GB, free: 30.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.8864, allocations: 79.22 kB / 1.306 GB, free: 30.16 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.8864, allocations: 109.1 kB / 1.306 GB, free: 30.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.8864, allocations: 0 / 1.306 GB, free: 30.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.963e-05/0.8865, allocations: 35.03 kB / 1.306 GB, free: 30.01 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.8865, allocations: 134.6 kB / 1.307 GB, free: 29.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.8867, allocations: 169.9 kB / 1.307 GB, free: 29.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.052e-06/0.8867, allocations: 25.7 kB / 1.307 GB, free: 29.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.8867, allocations: 90.89 kB / 1.307 GB, free: 29.62 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-06/0.8867, allocations: 0 / 1.307 GB, free: 29.62 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.8868, allocations: 22.34 kB / 1.307 GB, free: 29.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.111e-05/0.8868, allocations: 310.8 kB / 1.307 GB, free: 29.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.8868, allocations: 12.55 kB / 1.307 GB, free: 29.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.289e-05/0.8868, allocations: 16.47 kB / 1.307 GB, free: 29.28 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.001e-05/0.8869, allocations: 15.05 kB / 1.307 GB, free: 29.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.8869, allocations: 0 / 1.307 GB, free: 29.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001016/0.887, allocations: 52.19 kB / 1.307 GB, free: 29.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.887, allocations: 5.312 kB / 1.307 GB, free: 29.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.887, allocations: 2.594 kB / 1.307 GB, free: 29.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.887, allocations: 0 / 1.307 GB, free: 29.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.789e-05/0.8871, allocations: 6.641 kB / 1.307 GB, free: 29.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.8871, allocations: 4.031 kB / 1.307 GB, free: 29.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.8871, allocations: 9.281 kB / 1.307 GB, free: 29.22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.8871, allocations: 7.359 kB / 1.307 GB, free: 29.21 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.677e-05/0.8871, allocations: 193.8 kB / 1.307 GB, free: 29.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.8872, allocations: 114.6 kB / 1.308 GB, free: 28.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.8872, allocations: 111.7 kB / 1.308 GB, free: 28.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.8872, allocations: 184.1 kB / 1.308 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-05/0.8873, allocations: 183.6 kB / 1.308 GB, free: 28.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.419e-05/0.8873, allocations: 179 kB / 1.308 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.8874, allocations: 419.9 kB / 1.309 GB, free: 27.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.8875, allocations: 104.3 kB / 1.309 GB, free: 27.69 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.602e-05/0.8875, allocations: 107.6 kB / 1.309 GB, free: 27.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.219e-05/0.8875, allocations: 180.3 kB / 1.309 GB, free: 27.39 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.8875, allocations: 180.3 kB / 1.309 GB, free: 27.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.273e-05/0.8875, allocations: 186.8 kB / 1.309 GB, free: 27.02 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.219e-05/0.8876, allocations: 180.6 kB / 1.309 GB, free: 26.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.592e-05/0.8876, allocations: 312.7 kB / 1.31 GB, free: 26.52 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.8877, allocations: 194.8 kB / 1.31 GB, free: 26.31 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.8877, allocations: 180.3 kB / 1.31 GB, free: 26.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.968e-05/0.8878, allocations: 107.8 kB / 1.31 GB, free: 26.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.8878, allocations: 183.6 kB / 1.31 GB, free: 25.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.8878, allocations: 101.3 kB / 1.31 GB, free: 25.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.176e-05/0.8879, allocations: 137.2 kB / 1.311 GB, free: 25.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8879, allocations: 0 / 1.311 GB, free: 25.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002147/0.8881, allocations: 5.406 kB / 1.311 GB, free: 25.64 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.0002365/0.8883, allocations: 0.8059 MB / 1.311 GB, free: 24.83 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.493e-05/0.8884, allocations: 20.66 kB / 1.311 GB, free: 24.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.8884, allocations: 0 / 1.311 GB, free: 24.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.8884, allocations: 2.906 kB / 1.311 GB, free: 24.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.8887, allocations: 466.2 kB / 1.312 GB, free: 24.36 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008703/0.8896, allocations: 1.498 MB / 1.313 GB, free: 22.99 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.8897, allocations: 0.6915 MB / 1.314 GB, free: 22.29 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.762e-05/0.8897, allocations: 8.703 kB / 1.314 GB, free: 22.29 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.8898, allocations: 15.44 kB / 1.314 GB, free: 22.27 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.8898, allocations: 0 / 1.314 GB, free: 22.27 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.9144, allocations: 1.585 MB / 1.316 GB, free: 21.91 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.809/8.723, allocations: 15.2 kB / 1.316 GB, free: 21.9 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.744263078086078]