Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001355/0.001355, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001599/0.001599, allocations: 218.3 kB / 23.05 MB, free: 5.074 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.097/3.097, allocations: 0.49 GB / 0.7959 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,fileNamePrefix="Buildings_12_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.00268/0.00268, allocations: 63.77 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.4006, allocations: 176.1 MB / 1.327 GB, free: 2.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001846/0.4024, allocations: 0.6154 MB / 1.327 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001399/0.4025, allocations: 15.97 kB / 1.327 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.894e-05/0.4026, allocations: 0 / 1.327 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.4027, allocations: 3.938 kB / 1.327 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.142e-05/0.4027, allocations: 0 / 1.327 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.315e-05/0.4028, allocations: 8 kB / 1.327 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.4029, allocations: 27.92 kB / 1.327 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.4031, allocations: 20.2 kB / 1.327 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.304e-05/0.4031, allocations: 19.92 kB / 1.327 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.817e-05/0.4031, allocations: 11.94 kB / 1.327 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.4031, allocations: 4 kB / 1.327 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.4032, allocations: 0 / 1.327 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.253e-05/0.4032, allocations: 19.91 kB / 1.327 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.4032, allocations: 19.81 kB / 1.327 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.4034, allocations: 43.88 kB / 1.327 GB, free: 1.227 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.4034, allocations: 0 / 1.327 GB, free: 1.227 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4034, allocations: 0 / 1.327 GB, free: 1.227 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.4034, allocations: 4 kB / 1.327 GB, free: 1.223 MB / 1.014 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.0003734/0.4038, allocations: 278.5 kB / 1.328 GB, free: 0.918 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.4038, allocations: 8.031 kB / 1.328 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.556e-05/0.4038, allocations: 192 / 1.328 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.297e-05/0.4039, allocations: 42.73 kB / 1.328 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.4039, allocations: 4.938 kB / 1.328 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.4041, allocations: 126.4 kB / 1.328 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.4041, allocations: 384 / 1.328 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.4041, allocations: 8.375 kB / 1.328 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.4043, allocations: 85.97 kB / 1.328 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.4043, allocations: 0 / 1.328 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.4043, allocations: 0 / 1.328 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.4043, allocations: 3.984 kB / 1.328 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.166e-05/0.4044, allocations: 47.97 kB / 1.328 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.4049, allocations: 466.2 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.405, allocations: 177.1 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.405, allocations: 80.25 kB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.4051, allocations: 79.22 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/0.4051, allocations: 109.8 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.4051, allocations: 0 / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.049e-05/0.4052, allocations: 29.66 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.4052, allocations: 134.6 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.4054, allocations: 169.8 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.4054, allocations: 25.7 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.4055, allocations: 100.1 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.4055, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.4055, allocations: 13.72 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.4057, allocations: 318.8 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.4057, allocations: 8 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.72e-05/0.4057, allocations: 11.98 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.259e-05/0.4057, allocations: 12.86 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4057, allocations: 0 / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001147/0.4058, allocations: 53.62 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.4059, allocations: 5.719 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4059, allocations: 4 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.4059, allocations: 3.938 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.794e-05/0.4059, allocations: 3.938 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.4059, allocations: 8.031 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.07e-05/0.406, allocations: 11.89 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.406, allocations: 4 kB / 1.33 GB, free: 14.64 MB / 1.029 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.0001221/0.4061, allocations: 195.3 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.967e-05/0.4062, allocations: 105 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.168e-05/0.4062, allocations: 116.8 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.89e-05/0.4063, allocations: 188.1 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.355e-05/0.4064, allocations: 176.3 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.07e-05/0.4065, allocations: 184.2 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.4067, allocations: 388.3 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.34e-05/0.4068, allocations: 101 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-05/0.4068, allocations: 108.9 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-05/0.4069, allocations: 184.3 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.282e-05/0.407, allocations: 180.2 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.677e-05/0.4071, allocations: 184.2 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.267e-05/0.4071, allocations: 188.2 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.4073, allocations: 315.7 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/0.4074, allocations: 116.9 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.09e-05/0.4074, allocations: 176.5 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.4076, allocations: 116.8 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.4077, allocations: 180.3 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.201e-05/0.4077, allocations: 101 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001031/0.4078, allocations: 135.2 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4078, allocations: 0 / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002214/0.408, allocations: 4 kB / 1.333 GB, free: 11.06 MB / 1.029 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.0004677/0.4085, allocations: 0.8137 MB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.682e-05/0.4086, allocations: 8 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4086, allocations: 0 / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.4086, allocations: 0 / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.409, allocations: 469.4 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.4103, allocations: 1.491 MB / 1.336 GB, free: 8.184 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.4106, allocations: 0.6923 MB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.451e-05/0.4106, allocations: 4 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.4107, allocations: 23.42 kB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.4107, allocations: 0 / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.4316, allocations: 1.693 MB / 1.338 GB, free: 5.895 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.64, allocations: 15.23 kB / 1.338 GB, free: 5.883 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.1226631939644]