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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.01154/0.01154, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.002755/0.002755, allocations: 192.2 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.356/2.356, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.265/3.265, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002483/0.002483, allocations: 67.91 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593/1.595, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002584/1.598, allocations: 0.7753 MB / 1.088 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001282/1.599, allocations: 0.8603 MB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.853e-05/1.599, allocations: 1.219 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.213e-05/1.599, allocations: 5.578 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/1.599, allocations: 17.5 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/1.599, allocations: 38.47 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001533/1.6, allocations: 87.28 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/1.6, allocations: 21.59 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/1.6, allocations: 40.05 kB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/1.6, allocations: 54.2 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/1.6, allocations: 7.469 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.587e-05/1.6, allocations: 8.031 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.255e-05/1.6, allocations: 22.97 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/1.6, allocations: 40.47 kB / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001941/1.6, allocations: 90.5 kB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/1.6, allocations: 3.938 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.695e-06/1.6, allocations: 0 / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.013e-06/1.6, allocations: 0 / 1.089 GB, free: 3.922 MB / 0.8575 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.0006894/1.601, allocations: 394.2 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/1.601, allocations: 8.812 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.874e-05/1.601, allocations: 38.7 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/1.601, allocations: 8.719 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/1.601, allocations: 175 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/1.601, allocations: 3.969 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/1.602, allocations: 11.94 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/1.602, allocations: 109 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.602, allocations: 4 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/1.602, allocations: 1.172 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/1.602, allocations: 1.469 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/1.602, allocations: 97.7 kB / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006742/1.603, allocations: 348.8 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007188/1.604, allocations: 118.7 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/1.604, allocations: 50.56 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/1.604, allocations: 5.031 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/1.604, allocations: 36.59 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/1.604, allocations: 1.375 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0008167/1.605, allocations: 186 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/1.605, allocations: 53.52 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/1.605, allocations: 130.4 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/1.605, allocations: 26.83 kB / 1.091 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/1.605, allocations: 96.92 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/1.605, allocations: 20.73 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/1.605, allocations: 22.69 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.605, allocations: 319.5 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/1.606, allocations: 44.27 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/1.606, allocations: 48.88 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000436/1.606, allocations: 104.2 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.606, allocations: 0 / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004926/1.607, allocations: 142.8 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/1.607, allocations: 5.688 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.607, allocations: 0 / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/1.607, allocations: 5.344 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/1.607, allocations: 24.25 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.607, allocations: 4.688 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/1.607, allocations: 12.88 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/1.607, allocations: 10.55 kB / 1.092 GB, free: 1.922 MB / 0.8575 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 (reaToInt1.y,reaToInt.y,max1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.962e-05/1.607, allocations: 114.5 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/1.607, allocations: 14.83 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005762/1.608, allocations: 145.9 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1.608, allocations: 4.688 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.608, allocations: 4.5 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/1.608, allocations: 1.484 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/1.608, allocations: 194.1 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.608, allocations: 0.75 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/1.609, allocations: 23.73 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.609, allocations: 1.672 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/1.609, allocations: 1.516 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.609, allocations: 1.125 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.609, allocations: 4.734 kB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/1.609, allocations: 243.2 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/1.609, allocations: 84.03 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/1.609, allocations: 1.859 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/1.609, allocations: 11.92 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-05/1.609, allocations: 28.8 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/1.61, allocations: 3.078 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.993e-05/1.61, allocations: 101 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.61, allocations: 1.125 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002501/1.61, allocations: 15.92 kB / 1.093 GB, free: 1.148 MB / 0.8575 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 (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.001077/1.611, allocations: 0.7734 MB / 1.094 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005277/1.611, allocations: 107.5 kB / 1.094 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.611, allocations: 0.7812 kB / 1.094 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002549/1.612, allocations: 69.06 kB / 1.094 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/1.612, allocations: 9.891 kB / 1.094 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/1.615, allocations: 1.528 MB / 1.095 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007606/1.616, allocations: 0.6899 MB / 1.096 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.574e-05/1.616, allocations: 15.97 kB / 1.096 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/1.616, allocations: 35.72 kB / 1.096 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/1.616, allocations: 0 / 1.096 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0318/1.648, allocations: 2.705 MB / 1.099 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/14.67, allocations: 1.375 kB / 1.099 GB, free: 13.95 MB / 0.8731 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/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) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches