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.001669/0.001669, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00235/0.00235, allocations: 210.7 kB / 22.24 MB, free: 5.262 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] 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 3.263/3.263, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002108/0.002108, allocations: 67.91 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3529, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001854/0.3547, allocations: 0.6177 MB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001588/0.3549, allocations: 7.922 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/0.3549, allocations: 0 / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.731e-05/0.355, allocations: 8 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.895e-05/0.3551, allocations: 0 / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.725e-05/0.3551, allocations: 3.984 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.204e-05/0.3552, allocations: 39.86 kB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.3553, allocations: 15.98 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.595e-05/0.3554, allocations: 11.94 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.476e-05/0.3554, allocations: 19.86 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.3554, allocations: 4 kB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.4e-05/0.3554, allocations: 4 kB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.3555, allocations: 11.98 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.3555, allocations: 15.88 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.3556, allocations: 44.09 kB / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3556, allocations: 7.938 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3556, allocations: 3.938 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3556, allocations: 4 kB / 1.364 GB, free: 13.26 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.0003587/0.356, allocations: 270.6 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.356, allocations: 12.03 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.705e-05/0.3561, allocations: 34.75 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.3561, allocations: 12.89 kB / 1.364 GB, free: 12.9 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.3563, allocations: 114.5 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.3563, allocations: 8.375 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.3563, allocations: 4.375 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.3565, allocations: 70.23 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3565, allocations: 7.922 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3565, allocations: 4 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.3565, allocations: 7.938 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.951e-05/0.3566, allocations: 47.97 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005293/0.3571, allocations: 462.1 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.845e-05/0.3572, allocations: 173.1 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.95e-05/0.3573, allocations: 80.14 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.3573, allocations: 75.28 kB / 1.365 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/0.3574, allocations: 109.8 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3574, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.956e-05/0.3575, allocations: 33.62 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.3575, allocations: 138.6 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.3577, allocations: 175.6 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.3577, allocations: 25.7 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.3578, allocations: 92.14 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.3578, allocations: 0 / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.3578, allocations: 13.72 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.358, allocations: 318.8 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/0.358, allocations: 8 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.547e-05/0.358, allocations: 11.98 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.006e-05/0.3581, allocations: 12.84 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3581, allocations: 4.062 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001316/0.3582, allocations: 57.58 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3582, allocations: 4 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.3582, allocations: 3.938 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3582, allocations: 0 / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/0.3583, allocations: 7.938 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3583, allocations: 0 / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.3583, allocations: 7.938 kB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.3583, allocations: 0 / 1.366 GB, free: 10.7 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 0.0001327/0.3585, allocations: 201.1 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.658e-05/0.3585, allocations: 108.9 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.013e-05/0.3586, allocations: 120.7 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.84e-05/0.3587, allocations: 180.2 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.298e-05/0.3588, allocations: 180.2 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.409e-05/0.3589, allocations: 180.3 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.3591, allocations: 388.3 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-05/0.3592, allocations: 104.9 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.665e-05/0.3592, allocations: 106.2 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.869e-05/0.3593, allocations: 188.1 kB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-05/0.3594, allocations: 180.2 kB / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.709e-05/0.3595, allocations: 192.2 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.738e-05/0.3595, allocations: 184.2 kB / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.3597, allocations: 307.7 kB / 1.369 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/0.3598, allocations: 113 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.018e-05/0.3599, allocations: 180.5 kB / 1.369 GB, free: 7.672 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.36, allocations: 108.9 kB / 1.369 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/0.3601, allocations: 180.3 kB / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/0.3601, allocations: 108.9 kB / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001124/0.3602, allocations: 133.8 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3602, allocations: 0 / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000231/0.3605, allocations: 4 kB / 1.37 GB, free: 7.129 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.0004748/0.3609, allocations: 0.8087 MB / 1.371 GB, free: 6.293 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.394e-05/0.361, allocations: 15.92 kB / 1.371 GB, free: 6.277 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.361, allocations: 0 / 1.371 GB, free: 6.277 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.814e-06/0.361, allocations: 0 / 1.371 GB, free: 6.277 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.3615, allocations: 467.5 kB / 1.371 GB, free: 5.816 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.3628, allocations: 1.47 MB / 1.372 GB, free: 4.266 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.093e-05/0.3629, allocations: 75.28 kB / 1.373 GB, free: 4.172 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.321e-05/0.3629, allocations: 8 kB / 1.373 GB, free: 4.164 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.3629, allocations: 15.44 kB / 1.373 GB, free: 4.148 MB / 1.061 GB Notification: Performance of SimCode: time 6.11e-07/0.3629, allocations: 7.875 kB / 1.373 GB, free: 4.141 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.3907, allocations: 2.094 MB / 1.375 GB, free: 2.188 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.49, allocations: 2.328 kB / 1.375 GB, free: 2.188 MB / 1.061 GB " [Timeout remaining time 288] (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/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: 18.24913327395916]