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.001667/0.001667, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002433/0.002433, allocations: 219.3 kB / 22.25 MB, free: 5.105 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.816 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.15/3.15, allocations: 0.49 GB / 0.7951 GB, free: 35.45 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.002066/0.002066, allocations: 70.5 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3301, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.00184/0.3319, allocations: 0.621 MB / 1.326 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001436/0.3321, allocations: 8 kB / 1.326 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.152e-05/0.3321, allocations: 0 / 1.326 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.878e-05/0.3322, allocations: 3.938 kB / 1.326 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.93e-05/0.3322, allocations: 3.984 kB / 1.326 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.087e-05/0.3323, allocations: 12 kB / 1.326 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.171e-05/0.3324, allocations: 23.91 kB / 1.326 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.3325, allocations: 28.2 kB / 1.327 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.919e-05/0.3325, allocations: 11.94 kB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.243e-05/0.3326, allocations: 15.92 kB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.3326, allocations: 4 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.3326, allocations: 0 / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.501e-05/0.3326, allocations: 11.94 kB / 1.327 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.3327, allocations: 11.94 kB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.3328, allocations: 47.8 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3328, allocations: 0 / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3328, allocations: 4 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3328, allocations: 0 / 1.327 GB, free: 0.707 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.0003729/0.3332, allocations: 278.6 kB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3332, allocations: 8.031 kB / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.3333, allocations: 42.69 kB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.3333, allocations: 4.938 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.3335, allocations: 130.4 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.3335, allocations: 384 / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.3335, allocations: 8.375 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.3337, allocations: 78.22 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3337, allocations: 3.938 kB / 1.327 GB, free: 96 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.3337, allocations: 4 kB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3337, allocations: 0 / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.567e-05/0.3338, allocations: 47.97 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.3343, allocations: 454.2 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.675e-05/0.3344, allocations: 165.1 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.3344, allocations: 92.08 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.3344, allocations: 75.28 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.3345, allocations: 105.8 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.3345, allocations: 0 / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.74e-05/0.3346, allocations: 37.64 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/0.3346, allocations: 134.6 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.3348, allocations: 171.5 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.3348, allocations: 25.81 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.3349, allocations: 96.06 kB / 1.328 GB, free: 14.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.3349, allocations: 4 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.3349, allocations: 13.7 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.335, allocations: 318.8 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.067e-05/0.3351, allocations: 11.92 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.16e-05/0.3351, allocations: 4 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.908e-05/0.3351, allocations: 20.91 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3351, allocations: 4 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001168/0.3352, allocations: 49.64 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.3352, allocations: 4 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3352, allocations: 4 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3353, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.236e-05/0.3353, allocations: 3.938 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3353, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/0.3353, allocations: 15.88 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.3353, allocations: 4 kB / 1.329 GB, free: 14.14 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.0001325/0.3355, allocations: 197.1 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.375e-05/0.3356, allocations: 109 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.792e-05/0.3356, allocations: 108.8 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.738e-05/0.3357, allocations: 192.1 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.13e-05/0.3358, allocations: 176.3 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.069e-05/0.3358, allocations: 184.2 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.3361, allocations: 392.2 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.401e-05/0.3361, allocations: 101 kB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.3362, allocations: 108.9 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.368e-05/0.3362, allocations: 184.2 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.26e-05/0.3363, allocations: 180.2 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-05/0.3364, allocations: 188.2 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.497e-05/0.3365, allocations: 180.3 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.3366, allocations: 311.7 kB / 1.331 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.3367, allocations: 112.9 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.172e-05/0.3368, allocations: 180.5 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.687e-05/0.3369, allocations: 112.9 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.704e-05/0.337, allocations: 192.2 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.337, allocations: 101 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001115/0.3371, allocations: 136.4 kB / 1.332 GB, free: 10.56 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3371, allocations: 3.938 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002235/0.3373, allocations: 8 kB / 1.332 GB, free: 10.55 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.0004777/0.3378, allocations: 0.8048 MB / 1.333 GB, free: 9.715 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.915e-05/0.3379, allocations: 15.98 kB / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3379, allocations: 0 / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.3379, allocations: 0 / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.3384, allocations: 467.6 kB / 1.333 GB, free: 9.238 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.3397, allocations: 1.479 MB / 1.335 GB, free: 7.68 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.538e-05/0.3397, allocations: 83.28 kB / 1.335 GB, free: 7.578 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.251e-05/0.3398, allocations: 4 kB / 1.335 GB, free: 7.574 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.3398, allocations: 15.42 kB / 1.335 GB, free: 7.559 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3398, allocations: 0 / 1.335 GB, free: 7.559 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02745/0.3673, allocations: 2.11 MB / 1.337 GB, free: 5.582 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.32, allocations: 15.53 kB / 1.337 GB, free: 5.574 MB / 1.029 GB " [Timeout remaining time 289] (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: 17.87690879701404]