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.001242/0.001242, allocations: 108.6 kB / 16.4 MB, free: 6.449 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.001347/0.001347, allocations: 191.7 kB / 19.35 MB, free: 3.711 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.419/1.419, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.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 3.087/3.087, allocations: 489 MB / 0.7678 GB, free: 29.16 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.001952/0.001952, allocations: 71.88 kB / 1.101 GB, free: 5.871 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8446/0.8466, allocations: 163.8 MB / 1.261 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001802/0.8484, allocations: 0.6036 MB / 1.262 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001373/0.8486, allocations: 19.88 kB / 1.262 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.8487, allocations: 0 / 1.262 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.694e-05/0.8488, allocations: 0 / 1.262 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.816e-05/0.8488, allocations: 3.938 kB / 1.262 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.284e-05/0.8489, allocations: 4 kB / 1.262 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.503e-05/0.849, allocations: 23.92 kB / 1.262 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.8491, allocations: 27.98 kB / 1.262 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.76e-05/0.8491, allocations: 23.92 kB / 1.262 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.349e-05/0.8492, allocations: 15.92 kB / 1.262 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.8492, allocations: 4 kB / 1.262 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.055e-05/0.8492, allocations: 0 / 1.262 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.8493, allocations: 11.98 kB / 1.262 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.8493, allocations: 19.88 kB / 1.262 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.8494, allocations: 47.75 kB / 1.262 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.8494, allocations: 4 kB / 1.262 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8494, allocations: 0 / 1.262 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.8494, allocations: 0 / 1.262 GB, free: 6.309 MB / 0.9669 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.0003777/0.8498, allocations: 350 kB / 1.262 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.8499, allocations: 8.031 kB / 1.262 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.8499, allocations: 38.73 kB / 1.262 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.8499, allocations: 8.891 kB / 1.262 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.8502, allocations: 184.3 kB / 1.262 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.8502, allocations: 4.375 kB / 1.262 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.8502, allocations: 4.312 kB / 1.262 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.8503, allocations: 82.17 kB / 1.262 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.8504, allocations: 7.922 kB / 1.262 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.8504, allocations: 4 kB / 1.262 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.8504, allocations: 3.984 kB / 1.262 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.834e-05/0.8505, allocations: 51.97 kB / 1.263 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.851, allocations: 479.2 kB / 1.263 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.706e-05/0.8511, allocations: 169.1 kB / 1.263 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.8511, allocations: 84.14 kB / 1.263 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.8511, allocations: 79.27 kB / 1.263 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/0.8512, allocations: 109.8 kB / 1.263 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.8512, allocations: 3.938 kB / 1.263 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.115e-05/0.8513, allocations: 29.66 kB / 1.263 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.8514, allocations: 130.6 kB / 1.264 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.8515, allocations: 171.7 kB / 1.264 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.8516, allocations: 29.7 kB / 1.264 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.8516, allocations: 100.1 kB / 1.264 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.8516, allocations: 0 / 1.264 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.8517, allocations: 17.66 kB / 1.264 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.8518, allocations: 314.9 kB / 1.264 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.8518, allocations: 8.094 kB / 1.264 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.51e-05/0.8518, allocations: 15.94 kB / 1.264 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.218e-05/0.8519, allocations: 24.84 kB / 1.264 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.8519, allocations: 0 / 1.264 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001068/0.852, allocations: 45.69 kB / 1.264 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.852, allocations: 4 kB / 1.264 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.852, allocations: 7.984 kB / 1.264 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.8521, allocations: 0 / 1.264 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.295e-05/0.8521, allocations: 3.938 kB / 1.264 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.8521, allocations: 0 / 1.264 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.8522, allocations: 11.95 kB / 1.264 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.8522, allocations: 4 kB / 1.264 GB, free: 3.539 MB / 0.9669 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.000111/0.8523, allocations: 197.1 kB / 1.264 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.054e-05/0.8524, allocations: 112.9 kB / 1.265 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.8524, allocations: 112.9 kB / 1.265 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.1e-05/0.8525, allocations: 184.2 kB / 1.265 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.367e-05/0.8526, allocations: 180.2 kB / 1.265 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.471e-05/0.8527, allocations: 184.3 kB / 1.265 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.853, allocations: 421.1 kB / 1.266 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.184e-05/0.853, allocations: 101 kB / 1.266 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.8531, allocations: 101 kB / 1.266 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.442e-05/0.8531, allocations: 188.2 kB / 1.266 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-05/0.8532, allocations: 180.3 kB / 1.266 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.318e-05/0.8533, allocations: 184.1 kB / 1.266 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.656e-05/0.8534, allocations: 180.3 kB / 1.267 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.8536, allocations: 307.8 kB / 1.267 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.756e-05/0.8537, allocations: 190 kB / 1.267 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.906e-05/0.8538, allocations: 188.2 kB / 1.267 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.336e-05/0.8539, allocations: 108.9 kB / 1.267 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.225e-05/0.854, allocations: 184.5 kB / 1.267 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.26e-05/0.854, allocations: 101 kB / 1.268 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001102/0.8541, allocations: 133.3 kB / 1.268 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8541, allocations: 0 / 1.268 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002259/0.8544, allocations: 4 kB / 1.268 GB, free: 15.85 MB / 0.9825 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.0004746/0.8549, allocations: 0.8165 MB / 1.268 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.712e-05/0.8549, allocations: 7.984 kB / 1.268 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.8549, allocations: 0 / 1.268 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.8549, allocations: 8 kB / 1.268 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.8554, allocations: 467.6 kB / 1.269 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.8567, allocations: 1.492 MB / 1.27 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.857, allocations: 0.6885 MB / 1.271 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.427e-05/0.857, allocations: 4 kB / 1.271 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.8571, allocations: 19.45 kB / 1.271 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of SimCode: time 4.3e-07/0.8571, allocations: 0 / 1.271 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.8798, allocations: 1.581 MB / 1.273 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.831, allocations: 13.08 kB / 1.273 GB, free: 10.77 MB / 0.9825 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.74368934519589]