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.001442/0.001448, allocations: 115.1 kB / 17.08 MB, free: 5.793 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.001632/0.001632, allocations: 193.2 kB / 20.03 MB, free: 2.906 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.426/1.426, allocations: 222.9 MB / 245.7 MB, free: 4.207 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.866/2.866, allocations: 489.3 MB / 0.7687 GB, free: 3.961 MB / 0.6075 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMin.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMin.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 71.88 kB / 1.103 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9467/0.9486, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001779/0.9504, allocations: 0.6209 MB / 1.263 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001407/0.9505, allocations: 11.34 kB / 1.263 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.581e-05/0.9506, allocations: 0.9062 kB / 1.263 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.63e-05/0.9507, allocations: 4.594 kB / 1.263 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.85e-05/0.9507, allocations: 1.469 kB / 1.263 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.393e-05/0.9508, allocations: 6.391 kB / 1.263 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.245e-05/0.9509, allocations: 24.03 kB / 1.263 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.9511, allocations: 33.3 kB / 1.263 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.517e-05/0.9511, allocations: 13.88 kB / 1.263 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.28e-05/0.9512, allocations: 14.61 kB / 1.263 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.9512, allocations: 6.875 kB / 1.263 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.4e-05/0.9512, allocations: 3.5 kB / 1.263 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.9512, allocations: 12.81 kB / 1.263 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.9513, allocations: 21.19 kB / 1.263 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.9514, allocations: 48.77 kB / 1.263 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.9514, allocations: 0 / 1.263 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9514, allocations: 0.8438 kB / 1.263 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.9514, allocations: 0 / 1.263 GB, free: 7.527 MB / 0.9981 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.0003257/0.9518, allocations: 347 kB / 1.264 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.9518, allocations: 8.906 kB / 1.264 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.9518, allocations: 12.47 kB / 1.264 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.952, allocations: 179.2 kB / 1.264 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.952, allocations: 7.156 kB / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.9521, allocations: 3.625 kB / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.9522, allocations: 74.78 kB / 1.264 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.9523, allocations: 0.9375 kB / 1.264 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.9523, allocations: 8.688 kB / 1.264 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.9523, allocations: 0.8125 kB / 1.264 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.28e-05/0.9524, allocations: 57.19 kB / 1.264 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.9528, allocations: 491.1 kB / 1.264 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.582e-05/0.9529, allocations: 166.8 kB / 1.265 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.9529, allocations: 80.84 kB / 1.265 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.9529, allocations: 83.22 kB / 1.265 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.953, allocations: 111.3 kB / 1.265 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.103e-06/0.953, allocations: 0.9375 kB / 1.265 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.113e-05/0.9531, allocations: 32.52 kB / 1.265 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.9531, allocations: 128 kB / 1.265 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.9533, allocations: 173.4 kB / 1.265 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.203e-06/0.9533, allocations: 27.09 kB / 1.265 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.9533, allocations: 96.81 kB / 1.265 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-06/0.9533, allocations: 8.656 kB / 1.265 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.9534, allocations: 13 kB / 1.265 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.494e-05/0.9534, allocations: 319.9 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.9535, allocations: 9.516 kB / 1.266 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.634e-05/0.9535, allocations: 11.67 kB / 1.266 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.862e-05/0.9535, allocations: 15.89 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9535, allocations: 0 / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001176/0.9537, allocations: 53.67 kB / 1.266 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.9537, allocations: 9.031 kB / 1.266 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.9537, allocations: 1.359 kB / 1.266 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.9537, allocations: 0 / 1.266 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/0.9538, allocations: 3.922 kB / 1.266 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.9538, allocations: 4.594 kB / 1.266 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.746e-05/0.9538, allocations: 7.906 kB / 1.266 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.9538, allocations: 2.422 kB / 1.266 GB, free: 5.141 MB / 0.9981 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 8.066e-05/0.9539, allocations: 198 kB / 1.266 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.954, allocations: 112.9 kB / 1.266 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.954, allocations: 109.6 kB / 1.266 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/0.9541, allocations: 182.2 kB / 1.266 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.85e-05/0.9541, allocations: 190.6 kB / 1.267 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.81e-05/0.9541, allocations: 178.1 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.9543, allocations: 421.9 kB / 1.267 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-05/0.9543, allocations: 106.3 kB / 1.267 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.828e-05/0.9543, allocations: 106.7 kB / 1.267 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.65e-05/0.9544, allocations: 177.9 kB / 1.267 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002215/0.9546, allocations: 181.8 kB / 1.268 GB, free: 19.13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.959e-05/0.9547, allocations: 179 kB / 1.268 GB, free: 18.95 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.841e-05/0.9548, allocations: 186.5 kB / 1.268 GB, free: 18.77 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.9549, allocations: 310.4 kB / 1.268 GB, free: 18.45 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.9551, allocations: 188.2 kB / 1.268 GB, free: 18.24 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.664e-05/0.9552, allocations: 181.6 kB / 1.269 GB, free: 18.06 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.9553, allocations: 111.4 kB / 1.269 GB, free: 17.95 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.45e-05/0.9554, allocations: 186.8 kB / 1.269 GB, free: 17.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.9554, allocations: 106.3 kB / 1.269 GB, free: 17.65 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001273/0.9556, allocations: 136.6 kB / 1.269 GB, free: 17.55 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9556, allocations: 0 / 1.269 GB, free: 17.55 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00025/0.9558, allocations: 5.25 kB / 1.269 GB, free: 17.55 MB / 1.014 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.0001622/0.956, allocations: 172.4 kB / 1.269 GB, free: 17.39 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.651e-05/0.9561, allocations: 17.19 kB / 1.269 GB, free: 17.39 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9561, allocations: 0 / 1.269 GB, free: 17.39 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.195e-06/0.9561, allocations: 0.8125 kB / 1.269 GB, free: 17.39 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.9566, allocations: 467.1 kB / 1.27 GB, free: 16.93 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.957, allocations: 235.3 kB / 1.27 GB, free: 16.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.9574, allocations: 0.6913 MB / 1.271 GB, free: 16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.9574, allocations: 10.61 kB / 1.271 GB, free: 15.99 MB / 1.014 GB Notification: Performance of SimCode: time 2.1e-07/0.9574, allocations: 0 / 1.271 GB, free: 15.99 MB / 1.014 GB Notification: Performance of Templates: time 0.002654/0.9601, allocations: 0.7339 MB / 1.271 GB, free: 15.95 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe 2>&1) [Timeout 800] 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: 10.833189241122454]