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.001335/0.001335, allocations: 105.5 kB / 16.45 MB, free: 6.508 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.001443/0.001443, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.472/1.472, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.225/3.225, allocations: 0.49 GB / 0.7916 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,fileNamePrefix="Buildings_12_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.003188/0.003188, allocations: 68.66 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3224, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.002018/0.3244, allocations: 0.6245 MB / 1.321 GB, free: 2.723 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001293/0.3245, allocations: 8 kB / 1.321 GB, free: 2.715 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.3246, allocations: 3.938 kB / 1.321 GB, free: 2.711 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.132e-05/0.3246, allocations: 0 / 1.321 GB, free: 2.711 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.797e-05/0.3247, allocations: 4 kB / 1.321 GB, free: 2.707 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.702e-05/0.3247, allocations: 4 kB / 1.321 GB, free: 2.703 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.633e-05/0.3248, allocations: 27.89 kB / 1.321 GB, free: 2.676 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.325, allocations: 36.2 kB / 1.321 GB, free: 2.641 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.662e-05/0.325, allocations: 15.94 kB / 1.321 GB, free: 2.625 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.227e-05/0.325, allocations: 15.92 kB / 1.322 GB, free: 2.609 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.3251, allocations: 0 / 1.322 GB, free: 2.609 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.3251, allocations: 4 kB / 1.322 GB, free: 2.605 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.3251, allocations: 11.94 kB / 1.322 GB, free: 2.594 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/0.3252, allocations: 15.88 kB / 1.322 GB, free: 2.578 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.3253, allocations: 43.86 kB / 1.322 GB, free: 2.535 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3253, allocations: 4 kB / 1.322 GB, free: 2.531 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3253, allocations: 0 / 1.322 GB, free: 2.531 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3253, allocations: 4 kB / 1.322 GB, free: 2.527 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.000401/0.3257, allocations: 355.2 kB / 1.322 GB, free: 2.129 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3257, allocations: 15.98 kB / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.3258, allocations: 38.69 kB / 1.322 GB, free: 2.066 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.3258, allocations: 4.938 kB / 1.322 GB, free: 2.062 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.326, allocations: 176.3 kB / 1.322 GB, free: 1.852 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.326, allocations: 4.375 kB / 1.322 GB, free: 1.848 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.326, allocations: 4.375 kB / 1.322 GB, free: 1.844 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.3262, allocations: 82.22 kB / 1.322 GB, free: 1.758 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3262, allocations: 3.938 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3262, allocations: 4 kB / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3262, allocations: 0 / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.12e-05/0.3263, allocations: 47.91 kB / 1.322 GB, free: 1.703 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005273/0.3268, allocations: 487.2 kB / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.918e-05/0.3269, allocations: 177.6 kB / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.132e-05/0.327, allocations: 84.08 kB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.327, allocations: 75.28 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.325e-05/0.327, allocations: 109.9 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.327, allocations: 0 / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 8.848e-05/0.3271, allocations: 41.59 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.3272, allocations: 138.6 kB / 1.323 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.3274, allocations: 169.8 kB / 1.324 GB, free: 352 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.3274, allocations: 25.7 kB / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/0.3275, allocations: 92.12 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.3275, allocations: 4 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.3275, allocations: 9.719 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3277, allocations: 318.8 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/0.3277, allocations: 8 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.596e-05/0.3277, allocations: 11.98 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.091e-05/0.3278, allocations: 12.86 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3278, allocations: 0 / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001353/0.3279, allocations: 61.56 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3279, allocations: 5.875 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3279, allocations: 0 / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3279, allocations: 0 / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.176e-05/0.328, allocations: 7.938 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.328, allocations: 0 / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.328, allocations: 15.98 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.328, allocations: 8 kB / 1.324 GB, free: 15.74 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.0001185/0.3282, allocations: 193.1 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.377e-05/0.3282, allocations: 105 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.85e-05/0.3283, allocations: 116.8 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.12e-05/0.3284, allocations: 180.2 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-05/0.3285, allocations: 180.3 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.569e-05/0.3285, allocations: 188.2 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.3288, allocations: 413.2 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.447e-05/0.3289, allocations: 104.9 kB / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.704e-05/0.3289, allocations: 109 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.123e-05/0.329, allocations: 184.2 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.563e-05/0.3291, allocations: 180.3 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.849e-05/0.3291, allocations: 180.2 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.251e-05/0.3292, allocations: 184.1 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.3294, allocations: 315.7 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.821e-05/0.3295, allocations: 190 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.252e-05/0.3296, allocations: 184.5 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-05/0.3297, allocations: 108.9 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.503e-05/0.3298, allocations: 184.3 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.856e-05/0.3298, allocations: 108.9 kB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001176/0.3299, allocations: 127.2 kB / 1.327 GB, free: 12.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3299, allocations: 4 kB / 1.327 GB, free: 12.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002256/0.3302, allocations: 4 kB / 1.327 GB, free: 12.05 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.000513/0.3307, allocations: 0.8126 MB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.141e-05/0.3308, allocations: 11.94 kB / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3308, allocations: 4.062 kB / 1.328 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.3308, allocations: 0 / 1.328 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/0.3313, allocations: 473.5 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.3327, allocations: 1.47 MB / 1.33 GB, free: 9.176 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.333, allocations: 0.6962 MB / 1.331 GB, free: 8.453 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.637e-05/0.333, allocations: 4 kB / 1.331 GB, free: 8.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.3331, allocations: 19.42 kB / 1.331 GB, free: 8.43 MB / 1.029 GB Notification: Performance of SimCode: time 7.52e-07/0.3331, allocations: 0 / 1.331 GB, free: 8.43 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.3593, allocations: 1.591 MB / 1.332 GB, free: 6.984 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.268/8.627, allocations: 5.719 kB / 1.332 GB, free: 6.98 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.166092290077358]