Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009012/0.0009012, allocations: 195 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.159/1.159, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.43/2.43, allocations: 461.8 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 64.2 kB / 0.8985 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2219, allocations: 157.4 MB / 1.052 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001621/0.2236, allocations: 0.6728 MB / 1.053 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001074/0.2237, allocations: 19.91 kB / 1.053 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.293e-05/0.2238, allocations: 0 / 1.053 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.51e-05/0.2239, allocations: 3.938 kB / 1.053 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.263e-05/0.2239, allocations: 0 / 1.053 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.895e-05/0.224, allocations: 4 kB / 1.053 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.656e-05/0.224, allocations: 19.98 kB / 1.053 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.2241, allocations: 31.98 kB / 1.053 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.014e-05/0.2242, allocations: 11.94 kB / 1.053 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.5e-05/0.2242, allocations: 11.92 kB / 1.053 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.2242, allocations: 11.88 kB / 1.053 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.2242, allocations: 8 kB / 1.053 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.2243, allocations: 7.984 kB / 1.053 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.2243, allocations: 15.88 kB / 1.053 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.562e-05/0.2244, allocations: 43.81 kB / 1.053 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2244, allocations: 0 / 1.053 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.02e-07/0.2244, allocations: 4 kB / 1.053 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.2244, allocations: 0 / 1.053 GB, free: 7.34 MB / 0.8106 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.0002695/0.2247, allocations: 347.7 kB / 1.053 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.2247, allocations: 12.03 kB / 1.053 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.8e-05/0.2247, allocations: 30.75 kB / 1.053 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.2248, allocations: 16.84 kB / 1.053 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.2249, allocations: 176.3 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.2249, allocations: 384 / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.2249, allocations: 8.375 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.2251, allocations: 82.09 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2251, allocations: 3.938 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.2251, allocations: 4 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2251, allocations: 0 / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.44e-05/0.2252, allocations: 47.97 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.2256, allocations: 491.1 kB / 1.054 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.165e-05/0.2256, allocations: 173.1 kB / 1.054 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.2257, allocations: 80.14 kB / 1.054 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.2257, allocations: 75.28 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.2257, allocations: 113.8 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.2257, allocations: 0 / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.308e-05/0.2258, allocations: 37.55 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.2258, allocations: 134.6 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.226, allocations: 163.2 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.226, allocations: 29.69 kB / 1.055 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.226, allocations: 92.14 kB / 1.055 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.226, allocations: 0 / 1.055 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.2261, allocations: 21.72 kB / 1.055 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.2262, allocations: 318.8 kB / 1.055 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.2262, allocations: 8 kB / 1.055 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.376e-05/0.2262, allocations: 7.984 kB / 1.055 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.12e-05/0.2262, allocations: 12.86 kB / 1.055 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2262, allocations: 7.938 kB / 1.055 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.61e-05/0.2263, allocations: 53.58 kB / 1.055 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2264, allocations: 8.094 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.2264, allocations: 0 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2264, allocations: 112 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.075e-05/0.2264, allocations: 15.81 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2265, allocations: 3.984 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.2265, allocations: 15.84 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.2265, allocations: 0 / 1.056 GB, free: 4.562 MB / 0.8106 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 (mulMax.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 8.32e-05/0.2266, allocations: 193.1 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.2266, allocations: 112.9 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.959e-05/0.2267, allocations: 112.8 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.382e-05/0.2267, allocations: 184.2 kB / 1.056 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.345e-05/0.2268, allocations: 180.2 kB / 1.056 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.271e-05/0.2268, allocations: 176.3 kB / 1.056 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.227, allocations: 425.1 kB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-05/0.227, allocations: 109 kB / 1.057 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.437e-05/0.2271, allocations: 101 kB / 1.057 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.654e-05/0.2271, allocations: 180.2 kB / 1.057 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.2272, allocations: 180.3 kB / 1.057 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.307e-05/0.2272, allocations: 188.1 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.593e-05/0.2273, allocations: 188.3 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.2274, allocations: 307.9 kB / 1.058 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.844e-05/0.2274, allocations: 190 kB / 1.058 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.518e-05/0.2275, allocations: 184.2 kB / 1.058 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.437e-05/0.2276, allocations: 108.9 kB / 1.059 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.2276, allocations: 180.3 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.2277, allocations: 104.9 kB / 1.059 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.244e-05/0.2278, allocations: 133 kB / 1.059 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2278, allocations: 0 / 1.059 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002016/0.228, allocations: 8 kB / 1.059 GB, free: 0.8711 MB / 0.8106 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.0002978/0.2283, allocations: 0.8049 MB / 1.06 GB, free: 40 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.452e-05/0.2283, allocations: 15.94 kB / 1.06 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2283, allocations: 0 / 1.06 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.2283, allocations: 0 / 1.06 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.2287, allocations: 0.5302 MB / 1.06 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009362/0.2297, allocations: 1.494 MB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.2299, allocations: 0.6848 MB / 1.062 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.174e-05/0.2299, allocations: 4 kB / 1.062 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.2299, allocations: 19.42 kB / 1.062 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2299, allocations: 4.031 kB / 1.062 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4096/0.6396, allocations: 1.427 MB / 1.064 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.6398, allocations: 231.6 kB / 1.064 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/2.162, allocations: 0.875 kB / 1.064 GB, free: 11.65 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1)