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.001216/0.001216, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001378/0.001378, allocations: 219.6 kB / 23.03 MB, free: 4.922 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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.025/3.025, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger",fmuType="cs",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.001904/0.001904, allocations: 62.19 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3082, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001732/0.3099, allocations: 0.6124 MB / 1.346 GB, free: 15.36 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001316/0.31, allocations: 19.91 kB / 1.346 GB, free: 15.34 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.452e-05/0.3101, allocations: 0 / 1.346 GB, free: 15.34 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.496e-05/0.3101, allocations: 7.938 kB / 1.346 GB, free: 15.33 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.375e-05/0.3102, allocations: 0 / 1.346 GB, free: 15.33 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.717e-05/0.3102, allocations: 7.938 kB / 1.346 GB, free: 15.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.296e-05/0.3103, allocations: 27.92 kB / 1.346 GB, free: 15.29 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3104, allocations: 20.2 kB / 1.346 GB, free: 15.27 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.679e-05/0.3104, allocations: 19.92 kB / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.787e-05/0.3105, allocations: 11.94 kB / 1.346 GB, free: 15.24 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3105, allocations: 0 / 1.346 GB, free: 15.24 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-06/0.3105, allocations: 4 kB / 1.346 GB, free: 15.24 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.11e-05/0.3105, allocations: 15.97 kB / 1.346 GB, free: 15.22 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.3106, allocations: 15.88 kB / 1.346 GB, free: 15.21 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 8.797e-05/0.3106, allocations: 51.81 kB / 1.346 GB, free: 15.16 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3106, allocations: 0 / 1.346 GB, free: 15.16 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3106, allocations: 0 / 1.346 GB, free: 15.16 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.3106, allocations: 0 / 1.346 GB, free: 15.16 MB / 1.045 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.0003166/0.311, allocations: 278.6 kB / 1.346 GB, free: 14.85 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.311, allocations: 8.031 kB / 1.346 GB, free: 14.84 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.833e-05/0.311, allocations: 4.188 kB / 1.346 GB, free: 14.84 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.073e-05/0.311, allocations: 34.73 kB / 1.346 GB, free: 14.8 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.206e-05/0.3111, allocations: 8.891 kB / 1.346 GB, free: 14.79 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.3112, allocations: 118.5 kB / 1.346 GB, free: 14.65 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.3113, allocations: 8.375 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.3113, allocations: 4.375 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.3114, allocations: 85.91 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.3114, allocations: 0 / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.852e-06/0.3114, allocations: 0 / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3114, allocations: 0 / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.509e-05/0.3115, allocations: 51.97 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.312, allocations: 458.2 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.883e-05/0.312, allocations: 177.1 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.504e-05/0.3121, allocations: 80.14 kB / 1.347 GB, free: 13.74 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.3121, allocations: 75.28 kB / 1.347 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.3122, allocations: 109.8 kB / 1.347 GB, free: 13.55 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3122, allocations: 0 / 1.347 GB, free: 13.55 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 6.663e-05/0.3122, allocations: 33.66 kB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.3123, allocations: 130.6 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.3124, allocations: 171.7 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.3125, allocations: 25.7 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.3125, allocations: 104 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.3125, allocations: 0 / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.3125, allocations: 13.72 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3127, allocations: 318.8 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.524e-05/0.3127, allocations: 8 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.601e-05/0.3127, allocations: 15.92 kB / 1.348 GB, free: 12.69 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.974e-05/0.3127, allocations: 12.86 kB / 1.348 GB, free: 12.68 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3127, allocations: 0 / 1.348 GB, free: 12.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001089/0.3128, allocations: 53.67 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.3129, allocations: 8 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.3129, allocations: 0 / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3129, allocations: 3.938 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.81e-05/0.3129, allocations: 7.938 kB / 1.348 GB, free: 12.6 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.3129, allocations: 4.203 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.313, allocations: 15.83 kB / 1.348 GB, free: 12.58 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.313, allocations: 0 / 1.348 GB, free: 12.58 MB / 1.045 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.0001077/0.3131, allocations: 197.1 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.3131, allocations: 108.9 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.3132, allocations: 120.6 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.261e-05/0.3133, allocations: 188.1 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.744e-05/0.3133, allocations: 176.3 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.787e-05/0.3134, allocations: 180.2 kB / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.3136, allocations: 392.3 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.164e-05/0.3137, allocations: 105 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.002e-05/0.3137, allocations: 104.9 kB / 1.35 GB, free: 10.92 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.93e-05/0.3138, allocations: 180.3 kB / 1.35 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-05/0.3139, allocations: 180.2 kB / 1.35 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-05/0.3139, allocations: 184.2 kB / 1.35 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.237e-05/0.314, allocations: 188.2 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.3141, allocations: 300.1 kB / 1.351 GB, free: 9.859 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.3142, allocations: 124.9 kB / 1.351 GB, free: 9.73 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.098e-05/0.3143, allocations: 180.3 kB / 1.351 GB, free: 9.547 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.3144, allocations: 108.9 kB / 1.351 GB, free: 9.434 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.167e-05/0.3145, allocations: 180.3 kB / 1.351 GB, free: 9.25 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.3145, allocations: 105 kB / 1.352 GB, free: 9.141 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001047/0.3146, allocations: 133.3 kB / 1.352 GB, free: 9.012 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3146, allocations: 0 / 1.352 GB, free: 9.012 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000212/0.3148, allocations: 4 kB / 1.352 GB, free: 9.008 MB / 1.045 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.0004301/0.3152, allocations: 0.8126 MB / 1.352 GB, free: 8.168 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 5.866e-05/0.3153, allocations: 11.98 kB / 1.352 GB, free: 8.156 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3153, allocations: 0 / 1.352 GB, free: 8.156 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.3153, allocations: 0 / 1.352 GB, free: 8.156 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.3157, allocations: 472.8 kB / 1.353 GB, free: 7.691 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.3169, allocations: 1.477 MB / 1.354 GB, free: 6.133 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.171e-05/0.3169, allocations: 71.31 kB / 1.354 GB, free: 6.043 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.091e-05/0.3169, allocations: 11.92 kB / 1.354 GB, free: 6.031 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.317, allocations: 15.44 kB / 1.354 GB, free: 6.016 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.317, allocations: 0 / 1.354 GB, free: 6.016 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.3379, allocations: 1.744 MB / 1.356 GB, free: 4.434 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.82, allocations: 8.062 kB / 1.356 GB, free: 4.426 MB / 1.045 GB " [Timeout remaining time 289] (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: 17.19018611998763]