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.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.0007861/0.0007861, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007931/0.0007931, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8497/0.8497, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.774/1.774, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 3.166e-06/3.166e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/2.159e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001264/0.001286, allocations: 0.6103 MB / 1 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000134/0.00142, allocations: 11.94 kB / 1 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.001468, allocations: 3.938 kB / 1 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.822e-05/0.001556, allocations: 3.984 kB / 1 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.331e-05/0.00159, allocations: 3.938 kB / 1 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.698e-05/0.001657, allocations: 4 kB / 1 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.628e-05/0.001733, allocations: 27.86 kB / 1 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.00185, allocations: 23.97 kB / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.421e-05/0.001895, allocations: 19.98 kB / 1 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.042e-05/0.001925, allocations: 15.98 kB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.001946, allocations: 7.938 kB / 1 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.058e-05/0.001957, allocations: 4 kB / 1 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.001985, allocations: 4 kB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.002013, allocations: 15.92 kB / 1 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.544e-05/0.002098, allocations: 43.88 kB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.002101, allocations: 0 / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.31e-07/0.002101, allocations: 0 / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.002105, allocations: 3.938 kB / 1 GB, free: 12.71 MB / 0.9636 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.0002522/0.002357, allocations: 272.3 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.002395, allocations: 12.75 kB / 1.001 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.678e-05/0.002422, allocations: 38.75 kB / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/0.002445, allocations: 8.891 kB / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.002595, allocations: 129.7 kB / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.002604, allocations: 4.375 kB / 1.001 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-06/0.002613, allocations: 4.375 kB / 1.001 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.002732, allocations: 74.22 kB / 1.001 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.002739, allocations: 192 / 1.001 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.002747, allocations: 8.359 kB / 1.001 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.002754, allocations: 8.125 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.01e-05/0.002804, allocations: 47.97 kB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.003165, allocations: 454.2 kB / 1.001 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.407e-05/0.003229, allocations: 169.1 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.003251, allocations: 84.08 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.003269, allocations: 75.28 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.003301, allocations: 109.8 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.003301, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.52e-05/0.003356, allocations: 29.66 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.003405, allocations: 138.7 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.00352, allocations: 163.8 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.003528, allocations: 25.7 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.003569, allocations: 92.14 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.003571, allocations: 4 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.003595, allocations: 17.72 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.473e-05/0.003669, allocations: 318.8 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.003684, allocations: 19.92 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-06/0.003693, allocations: 4 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.101e-05/0.003724, allocations: 16.84 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.003727, allocations: 7.938 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.293e-05/0.003819, allocations: 49.64 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.003832, allocations: 4 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.003836, allocations: 4.094 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.003847, allocations: 0 / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.407e-05/0.003901, allocations: 8 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.003905, allocations: 0 / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.003924, allocations: 15.86 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.003932, allocations: 0 / 1.003 GB, free: 10.14 MB / 0.9636 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 6.548e-05/0.003998, allocations: 193.1 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.004041, allocations: 116.9 kB / 1.003 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.004073, allocations: 109.6 kB / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-05/0.00411, allocations: 180.2 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.62e-05/0.004146, allocations: 180.3 kB / 1.003 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-05/0.004184, allocations: 188.2 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.004322, allocations: 392.3 kB / 1.004 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/0.004343, allocations: 101 kB / 1.004 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.004368, allocations: 109.1 kB / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.578e-05/0.004404, allocations: 180.2 kB / 1.004 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.004445, allocations: 184.3 kB / 1.005 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.909e-05/0.004484, allocations: 188.2 kB / 1.005 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.528e-05/0.004519, allocations: 176.3 kB / 1.005 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.862e-05/0.004608, allocations: 315.6 kB / 1.005 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.004643, allocations: 120.9 kB / 1.005 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.004687, allocations: 176.3 kB / 1.006 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.502e-05/0.004742, allocations: 105 kB / 1.006 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.004784, allocations: 184.2 kB / 1.006 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.004806, allocations: 101 kB / 1.006 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.575e-05/0.004871, allocations: 141 kB / 1.006 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.004871, allocations: 0 / 1.006 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001412/0.005013, allocations: 4 kB / 1.006 GB, free: 6.578 MB / 0.9636 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.0002339/0.005247, allocations: 0.8048 MB / 1.007 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.539e-05/0.005302, allocations: 15.98 kB / 1.007 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.005303, allocations: 0 / 1.007 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.005304, allocations: 0 / 1.007 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.005573, allocations: 467.5 kB / 1.007 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007762/0.006349, allocations: 1.491 MB / 1.009 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.392e-05/0.006393, allocations: 71.33 kB / 1.009 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.933e-05/0.006413, allocations: 4 kB / 1.009 GB, free: 3.602 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.006447, allocations: 20.48 kB / 1.009 GB, free: 3.582 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.006448, allocations: 0 / 1.009 GB, free: 3.582 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.02005, allocations: 2.237 MB / 1.011 GB, free: 1.496 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.197/6.217, allocations: 11.98 kB / 1.011 GB, free: 1.484 MB / 0.9636 GB " [Timeout remaining time 294] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.190431791357696]