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.001408/0.001408, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001601/0.001601, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.538/1.538, allocations: 230.6 MB / 256 MB, free: 7.785 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.147/3.147, allocations: 0.4892 GB / 0.7944 GB, free: 35.51 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="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.003268/0.003268, allocations: 71.98 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3489, allocations: 176.1 MB / 1.325 GB, free: 2.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.002301/0.3512, allocations: 0.613 MB / 1.326 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001463/0.3513, allocations: 11.92 kB / 1.326 GB, free: 1.793 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.02e-05/0.3514, allocations: 0 / 1.326 GB, free: 1.793 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.576e-05/0.3514, allocations: 11.92 kB / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.503e-05/0.3515, allocations: 4 kB / 1.326 GB, free: 1.777 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.357e-05/0.3515, allocations: 0 / 1.326 GB, free: 1.777 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.531e-05/0.3516, allocations: 27.92 kB / 1.326 GB, free: 1.75 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3517, allocations: 24.2 kB / 1.326 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.486e-05/0.3518, allocations: 7.938 kB / 1.326 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.61e-05/0.3518, allocations: 19.92 kB / 1.326 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.3518, allocations: 7.938 kB / 1.326 GB, free: 1.691 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.3518, allocations: 4 kB / 1.326 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.243e-05/0.3519, allocations: 7.984 kB / 1.326 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.3519, allocations: 15.88 kB / 1.326 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.352, allocations: 39.88 kB / 1.326 GB, free: 1.625 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.352, allocations: 11.94 kB / 1.326 GB, free: 1.613 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.352, allocations: 0 / 1.326 GB, free: 1.613 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.352, allocations: 0 / 1.326 GB, free: 1.613 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.0003506/0.3524, allocations: 278.6 kB / 1.326 GB, free: 1.309 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3524, allocations: 8.031 kB / 1.326 GB, free: 1.301 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.878e-05/0.3525, allocations: 38.75 kB / 1.326 GB, free: 1.254 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.3525, allocations: 4.938 kB / 1.326 GB, free: 1.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.3527, allocations: 122.5 kB / 1.326 GB, free: 1.105 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.3527, allocations: 8.312 kB / 1.326 GB, free: 1.098 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.3527, allocations: 4.375 kB / 1.326 GB, free: 1.094 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.3529, allocations: 82.22 kB / 1.326 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3529, allocations: 7.922 kB / 1.326 GB, free: 1 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.3529, allocations: 0 / 1.326 GB, free: 1 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.353, allocations: 7.938 kB / 1.326 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.066e-05/0.353, allocations: 47.97 kB / 1.326 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.3536, allocations: 458.2 kB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.3538, allocations: 169.1 kB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.805e-05/0.3538, allocations: 80.14 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.3538, allocations: 79.22 kB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.371e-05/0.3539, allocations: 109.8 kB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3539, allocations: 0 / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of matching and sorting (n=0): time 9.912e-05/0.354, allocations: 41.69 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.119e-05/0.3541, allocations: 134.6 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.3543, allocations: 167.4 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.3543, allocations: 25.7 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.3544, allocations: 88.14 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-06/0.3544, allocations: 0 / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.3545, allocations: 21.7 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3546, allocations: 310.8 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/0.3547, allocations: 15.98 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.564e-05/0.3547, allocations: 7.938 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.862e-05/0.3547, allocations: 20.91 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3547, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001292/0.3549, allocations: 53.64 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3549, allocations: 5.406 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3549, allocations: 0 / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3549, allocations: 0 / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.534e-05/0.355, allocations: 7.938 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.355, allocations: 3.984 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.177e-05/0.355, allocations: 11.89 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.355, allocations: 0 / 1.328 GB, free: 15.04 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.0001341/0.3551, allocations: 201.1 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/0.3552, allocations: 108.9 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.929e-05/0.3553, allocations: 108.8 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.234e-05/0.3554, allocations: 184.1 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.121e-05/0.3554, allocations: 180.2 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.487e-05/0.3555, allocations: 184.3 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.3558, allocations: 384.2 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.745e-05/0.3558, allocations: 101 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.704e-05/0.3559, allocations: 109 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.19e-05/0.356, allocations: 184.2 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.3561, allocations: 188.3 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.603e-05/0.3562, allocations: 192.2 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-05/0.3562, allocations: 176.3 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.3564, allocations: 315.7 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.497e-05/0.3565, allocations: 116.8 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.783e-05/0.3566, allocations: 176.5 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.364e-05/0.3567, allocations: 112.9 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.513e-05/0.3567, allocations: 184.2 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/0.3568, allocations: 105 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001178/0.3569, allocations: 137 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3569, allocations: 0 / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002198/0.3571, allocations: 8 kB / 1.331 GB, free: 11.45 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.0005207/0.3577, allocations: 0.8126 MB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.854e-05/0.3577, allocations: 11.98 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3577, allocations: 0 / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.3577, allocations: 0 / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.3582, allocations: 467.5 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.3595, allocations: 1.479 MB / 1.334 GB, free: 8.586 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.976e-05/0.3596, allocations: 79.28 kB / 1.334 GB, free: 8.488 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.506e-05/0.3596, allocations: 4 kB / 1.334 GB, free: 8.484 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.3597, allocations: 23.42 kB / 1.334 GB, free: 8.461 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3597, allocations: 0 / 1.334 GB, free: 8.461 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.3896, allocations: 2.086 MB / 1.336 GB, free: 6.512 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.47, allocations: 12.52 kB / 1.336 GB, free: 6.508 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.20028416533023]