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.001834/0.001834, allocations: 113 kB / 18.94 MB, free: 2.934 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.00212/0.00212, allocations: 208.9 kB / 22.25 MB, free: 5.086 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 8.031 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.263/3.263, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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.002115/0.002115, allocations: 66.06 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3498, allocations: 176.1 MB / 1.326 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001835/0.3516, allocations: 0.6147 MB / 1.326 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001178/0.3517, allocations: 15.92 kB / 1.327 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.611e-05/0.3518, allocations: 0 / 1.327 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.598e-05/0.3518, allocations: 0 / 1.327 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.608e-05/0.3519, allocations: 15.88 kB / 1.327 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.712e-05/0.3519, allocations: 4 kB / 1.327 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.941e-05/0.352, allocations: 19.98 kB / 1.327 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3521, allocations: 24.2 kB / 1.327 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.425e-05/0.3521, allocations: 15.92 kB / 1.327 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.503e-05/0.3522, allocations: 15.92 kB / 1.327 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.3522, allocations: 4 kB / 1.327 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-06/0.3522, allocations: 4 kB / 1.327 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.3522, allocations: 15.92 kB / 1.327 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.3523, allocations: 15.88 kB / 1.327 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.165e-05/0.3523, allocations: 47.81 kB / 1.327 GB, free: 1.148 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3524, allocations: 0 / 1.327 GB, free: 1.148 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3524, allocations: 0 / 1.327 GB, free: 1.148 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3524, allocations: 0 / 1.327 GB, free: 1.148 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.0003375/0.3527, allocations: 278.5 kB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.3527, allocations: 8.031 kB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.105e-05/0.3528, allocations: 42.73 kB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.225e-05/0.3528, allocations: 4.938 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.353, allocations: 126.5 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.353, allocations: 4.375 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.353, allocations: 4.375 kB / 1.327 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.3532, allocations: 82.16 kB / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3532, allocations: 3.938 kB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3532, allocations: 4 kB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3532, allocations: 0 / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.396e-05/0.3533, allocations: 47.97 kB / 1.327 GB, free: 496 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.3538, allocations: 462.2 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.3539, allocations: 169.1 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.259e-05/0.354, allocations: 84.25 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.354, allocations: 79.22 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.403e-05/0.3541, allocations: 109.8 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3541, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.992e-05/0.3542, allocations: 37.66 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.3542, allocations: 130.6 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.3544, allocations: 171.8 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.3544, allocations: 25.7 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.3545, allocations: 96.12 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.3545, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.3545, allocations: 9.719 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3547, allocations: 322.8 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.3547, allocations: 8 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.369e-05/0.3547, allocations: 11.92 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.898e-05/0.3547, allocations: 16.8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3547, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001259/0.3549, allocations: 61.61 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3549, allocations: 4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3549, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3549, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.166e-05/0.355, allocations: 12.03 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.355, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.152e-05/0.355, allocations: 11.89 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.355, allocations: 4 kB / 1.329 GB, free: 14.57 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.0001289/0.3551, allocations: 194.2 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.578e-05/0.3552, allocations: 108.9 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.407e-05/0.3553, allocations: 112.8 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.625e-05/0.3554, allocations: 188.2 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.355e-05/0.3554, allocations: 180.2 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.709e-05/0.3555, allocations: 180.3 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.3558, allocations: 392.2 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.372e-05/0.3559, allocations: 101 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.3559, allocations: 112.9 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.455e-05/0.356, allocations: 176.3 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-05/0.3561, allocations: 180.3 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.733e-05/0.3562, allocations: 188.2 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.651e-05/0.3563, allocations: 176.3 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.3564, allocations: 327.6 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.018e-05/0.3565, allocations: 112.9 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.146e-05/0.3566, allocations: 184.5 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3567, allocations: 104.9 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3568, allocations: 188.2 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.126e-05/0.3569, allocations: 105 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001247/0.357, allocations: 131.2 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.357, allocations: 0 / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002423/0.3572, allocations: 4 kB / 1.332 GB, free: 10.99 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.0005213/0.3578, allocations: 0.8204 MB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.442e-05/0.3578, allocations: 4 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3578, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.3578, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.3583, allocations: 467.4 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.3596, allocations: 1.494 MB / 1.335 GB, free: 8.105 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.36, allocations: 0.6883 MB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.26e-05/0.36, allocations: 8 kB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.36, allocations: 15.42 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.36, allocations: 0 / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/0.3879, allocations: 1.665 MB / 1.337 GB, free: 5.836 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.45, allocations: 10.44 kB / 1.337 GB, free: 5.832 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.219662042800337]