Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.477/2.477, allocations: 476.7 MB / 0.7628 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 59.91 kB / 1.107 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.745/0.7467, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001659/0.7484, allocations: 0.6173 MB / 1.272 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001154/0.7485, allocations: 10.98 kB / 1.272 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.7486, allocations: 4.625 kB / 1.272 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.317e-05/0.7486, allocations: 5.984 kB / 1.272 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.518e-05/0.7487, allocations: 4 kB / 1.272 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.235e-05/0.7487, allocations: 3.219 kB / 1.272 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.7488, allocations: 27.77 kB / 1.272 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.7489, allocations: 19.89 kB / 1.272 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.325e-05/0.749, allocations: 17.03 kB / 1.272 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.074e-05/0.749, allocations: 14.72 kB / 1.272 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.749, allocations: 3.375 kB / 1.272 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.749, allocations: 2.781 kB / 1.272 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.749, allocations: 12.55 kB / 1.272 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.7491, allocations: 25 kB / 1.272 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.879e-05/0.7492, allocations: 40.69 kB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7492, allocations: 1.656 kB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7492, allocations: 3.938 kB / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.7492, allocations: 0 / 1.272 GB, free: 7.258 MB / 0.9981 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.0002411/0.7494, allocations: 345.7 kB / 1.272 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.7495, allocations: 10.31 kB / 1.273 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.046e-05/0.7495, allocations: 36.97 kB / 1.273 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.152e-05/0.7495, allocations: 8.547 kB / 1.273 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.7496, allocations: 187.6 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.7496, allocations: 3.438 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.7497, allocations: 3.281 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.7498, allocations: 82.22 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.7498, allocations: 3.938 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.7498, allocations: 0.8438 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.7498, allocations: 2.219 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.183e-05/0.7499, allocations: 47.95 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.7503, allocations: 495.3 kB / 1.273 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.573e-05/0.7503, allocations: 166.1 kB / 1.273 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/0.7503, allocations: 93.48 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.7503, allocations: 75.28 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.7504, allocations: 107.3 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/0.7504, allocations: 4.875 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.254e-05/0.7504, allocations: 29.06 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.7505, allocations: 131.2 kB / 1.274 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.7506, allocations: 179.1 kB / 1.274 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.549e-06/0.7506, allocations: 25.7 kB / 1.274 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.7507, allocations: 92.92 kB / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.7507, allocations: 0 / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.7507, allocations: 14.03 kB / 1.274 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.801e-05/0.7507, allocations: 324.1 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.7508, allocations: 9.016 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.369e-05/0.7508, allocations: 7.344 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.137e-05/0.7508, allocations: 16.39 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.7508, allocations: 0 / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001071/0.7509, allocations: 52.94 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.7509, allocations: 10.28 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.7509, allocations: 4.094 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.7509, allocations: 0.8438 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.639e-05/0.751, allocations: 7.547 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.751, allocations: 0.8438 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.751, allocations: 3.766 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.751, allocations: 9.672 kB / 1.275 GB, free: 4.82 MB / 0.9981 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 6.454e-05/0.7511, allocations: 194.9 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.7511, allocations: 109.5 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.7512, allocations: 117.3 kB / 1.275 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/0.7512, allocations: 189.6 kB / 1.275 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.393e-05/0.7512, allocations: 178.8 kB / 1.275 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/0.7512, allocations: 181.9 kB / 1.276 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.7514, allocations: 422.3 kB / 1.276 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.7514, allocations: 105.9 kB / 1.276 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.7514, allocations: 107 kB / 1.276 GB, free: 19.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-05/0.7515, allocations: 178.4 kB / 1.276 GB, free: 18.99 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.77e-05/0.7516, allocations: 181.5 kB / 1.277 GB, free: 18.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.511e-05/0.7516, allocations: 182.2 kB / 1.277 GB, free: 18.62 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-05/0.7517, allocations: 177.5 kB / 1.277 GB, free: 18.45 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.7518, allocations: 315.9 kB / 1.277 GB, free: 18.12 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-05/0.7519, allocations: 191.3 kB / 1.277 GB, free: 17.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.459e-05/0.752, allocations: 182.1 kB / 1.278 GB, free: 17.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.7521, allocations: 107.2 kB / 1.278 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.7521, allocations: 185.8 kB / 1.278 GB, free: 17.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.7522, allocations: 102.9 kB / 1.278 GB, free: 17.33 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.379e-05/0.7523, allocations: 133.2 kB / 1.278 GB, free: 17.24 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.7523, allocations: 0 / 1.278 GB, free: 17.24 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000202/0.7525, allocations: 4.438 kB / 1.278 GB, free: 17.24 MB / 1.014 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.0003873/0.7529, allocations: 0.8162 MB / 1.279 GB, free: 16.42 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.204e-05/0.7529, allocations: 12.09 kB / 1.279 GB, free: 16.42 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7529, allocations: 0 / 1.279 GB, free: 16.42 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.7529, allocations: 0.8125 kB / 1.279 GB, free: 16.42 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.7533, allocations: 467.4 kB / 1.279 GB, free: 15.96 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.7544, allocations: 1.498 MB / 1.281 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.7547, allocations: 0.684 MB / 1.281 GB, free: 13.89 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.351e-05/0.7547, allocations: 7.203 kB / 1.281 GB, free: 13.89 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.7547, allocations: 15.41 kB / 1.281 GB, free: 13.88 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.7547, allocations: 1.219 kB / 1.281 GB, free: 13.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.7774, allocations: 1.552 MB / 1.283 GB, free: 13.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.975/7.753, allocations: 12.31 kB / 1.283 GB, free: 13.5 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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: 12.94903909400091]