Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Max",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.0009658/0.0009658, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001224/0.001224, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 390.4 MB / 0.6655 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.0004051, allocations: 15.94 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8056/0.8061, allocations: 142.3 MB / 0.9539 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001029/0.8071, allocations: 483.1 kB / 0.9543 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.8083, allocations: 0.8554 MB / 0.9552 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.154e-05/0.8084, allocations: 1.312 kB / 0.9552 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.8085, allocations: 3.938 kB / 0.9552 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.8086, allocations: 9.172 kB / 0.9552 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.8088, allocations: 35.48 kB / 0.9552 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.809, allocations: 70.77 kB / 0.9553 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.8091, allocations: 26.22 kB / 0.9553 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.8092, allocations: 31.27 kB / 0.9553 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.8094, allocations: 37.11 kB / 0.9554 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.8094, allocations: 6.891 kB / 0.9554 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.876e-05/0.8094, allocations: 7.312 kB / 0.9554 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.8094, allocations: 10.39 kB / 0.9554 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.8095, allocations: 34.05 kB / 0.9554 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.8096, allocations: 62.97 kB / 0.9555 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.8096, allocations: 1.062 kB / 0.9555 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8096, allocations: 0 / 0.9555 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.8096, allocations: 4 kB / 0.9555 GB, free: 6.73 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006/0.8102, allocations: 386.2 kB / 0.9559 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.8103, allocations: 9.719 kB / 0.9559 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.079e-05/0.8103, allocations: 35.88 kB / 0.9559 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.8104, allocations: 7.719 kB / 0.9559 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.8105, allocations: 180.3 kB / 0.9561 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.8106, allocations: 14.59 kB / 0.9561 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.8106, allocations: 4.406 kB / 0.9561 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.8109, allocations: 108.9 kB / 0.9562 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.8109, allocations: 4 kB / 0.9562 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.811, allocations: 9.047 kB / 0.9562 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.811, allocations: 6.219 kB / 0.9562 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003597/0.8113, allocations: 121.1 kB / 0.9563 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/0.8119, allocations: 346.8 kB / 0.9567 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.8125, allocations: 132.1 kB / 0.9568 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.8127, allocations: 72.7 kB / 0.9569 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.8127, allocations: 1.156 kB / 0.9569 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.8127, allocations: 31.66 kB / 0.9569 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.485e-06/0.8127, allocations: 0 / 0.9569 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006811/0.8134, allocations: 217.1 kB / 0.9571 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.8135, allocations: 52.47 kB / 0.9572 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.474e-05/0.8136, allocations: 128.4 kB / 0.9573 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.8136, allocations: 26.61 kB / 0.9573 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.8136, allocations: 91.69 kB / 0.9574 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.8137, allocations: 21.97 kB / 0.9574 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.8137, allocations: 0 / 0.9574 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.671e-05/0.8137, allocations: 321 kB / 0.9577 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.8139, allocations: 61.7 kB / 0.9578 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.8141, allocations: 58.02 kB / 0.9578 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.8143, allocations: 49.97 kB / 0.9579 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8143, allocations: 3.953 kB / 0.9579 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003972/0.8147, allocations: 163.2 kB / 0.958 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.8147, allocations: 8.75 kB / 0.958 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.8147, allocations: 1.125 kB / 0.958 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.8147, allocations: 0 / 0.958 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.8149, allocations: 30.09 kB / 0.9581 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.8149, allocations: 0 / 0.9581 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.815, allocations: 19.67 kB / 0.9581 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.8151, allocations: 10.67 kB / 0.9581 GB, free: 4.496 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.991e-05/0.8151, allocations: 113 kB / 0.9582 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.8152, allocations: 15.27 kB / 0.9582 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000477/0.8157, allocations: 170.8 kB / 0.9584 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.8157, allocations: 5.391 kB / 0.9584 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.8157, allocations: 0 / 0.9584 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8157, allocations: 0 / 0.9584 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.8159, allocations: 195.5 kB / 0.9586 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.816, allocations: 5.562 kB / 0.9586 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.8161, allocations: 32.8 kB / 0.9586 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.8161, allocations: 0 / 0.9586 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.8162, allocations: 5.359 kB / 0.9586 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.8162, allocations: 0 / 0.9586 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8162, allocations: 1.406 kB / 0.9586 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004444/0.8166, allocations: 258.9 kB / 0.9589 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.8167, allocations: 86.77 kB / 0.959 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.8167, allocations: 5.766 kB / 0.959 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.8168, allocations: 18.73 kB / 0.959 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.8169, allocations: 23.16 kB / 0.959 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.8169, allocations: 5.922 kB / 0.959 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.679e-05/0.817, allocations: 98.23 kB / 0.9591 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.817, allocations: 0 / 0.9591 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002406/0.8172, allocations: 23.56 kB / 0.9591 GB, free: 3.602 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006218/0.8179, allocations: 0.795 MB / 0.9599 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00038/0.8182, allocations: 125 kB / 0.96 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8183, allocations: 0 / 0.96 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.8185, allocations: 79.88 kB / 0.9601 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.8188, allocations: 12.05 kB / 0.9601 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.8203, allocations: 0.6601 MB / 0.9607 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.8204, allocations: 0.695 MB / 0.9614 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.791e-05/0.8205, allocations: 6.656 kB / 0.9614 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.8206, allocations: 28.42 kB / 0.9615 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.8206, allocations: 0 / 0.9615 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01147/0.8321, allocations: 2.238 MB / 0.9636 GB, free: 496 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001268/0.8322, allocations: 178.9 kB / 0.9638 GB, free: 256 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.657, allocations: 0 / 0.9638 GB, free: 256 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat does not exist to compare? outputFormat=mat