Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.011/0.011, allocations: 103.3 kB / 15.74 MB, free: 6.059 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.001899/0.001899, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.063/2.063, 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.756/3.756, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 71.89 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597/1.599, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002053/1.601, allocations: 0.7738 MB / 1.088 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001324/1.603, allocations: 0.8654 MB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.406e-05/1.603, allocations: 5.156 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.042e-05/1.603, allocations: 5.109 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/1.603, allocations: 10.41 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/1.603, allocations: 42 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001675/1.603, allocations: 86.98 kB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/1.604, allocations: 30.66 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/1.604, allocations: 32.53 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/1.604, allocations: 52.67 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/1.604, allocations: 7.594 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.218e-05/1.604, allocations: 7.312 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.922e-05/1.604, allocations: 20.39 kB / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.529e-05/1.604, allocations: 38.81 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002011/1.604, allocations: 87.41 kB / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/1.604, allocations: 4 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.497e-06/1.604, allocations: 0 / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.867e-06/1.604, allocations: 5.062 kB / 1.089 GB, free: 3.895 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.0008065/1.605, allocations: 389.4 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.657e-05/1.605, allocations: 8.5 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.635e-05/1.605, allocations: 38.83 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/1.605, allocations: 9.031 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/1.605, allocations: 178.6 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/1.606, allocations: 11.38 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/1.606, allocations: 7.281 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/1.606, allocations: 114.2 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/1.606, allocations: 4 kB / 1.09 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/1.606, allocations: 5.312 kB / 1.09 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/1.606, allocations: 1.406 kB / 1.09 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004675/1.607, allocations: 93.41 kB / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006764/1.607, allocations: 348 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007583/1.608, allocations: 114.8 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/1.608, allocations: 64.67 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/1.608, allocations: 0 / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/1.608, allocations: 36.39 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/1.608, allocations: 1.25 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0008126/1.609, allocations: 181.8 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/1.609, allocations: 53.17 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/1.609, allocations: 123.5 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/1.609, allocations: 29.7 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/1.609, allocations: 94.33 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/1.609, allocations: 19.66 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/1.609, allocations: 23.77 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.103e-05/1.61, allocations: 322 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/1.61, allocations: 49.27 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/1.61, allocations: 49.19 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003857/1.61, allocations: 103.8 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.61, allocations: 4.938 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004532/1.611, allocations: 130.7 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.611, allocations: 4.938 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/1.611, allocations: 0.6875 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.611, allocations: 1.641 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/1.611, allocations: 27.67 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/1.611, allocations: 3.938 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/1.611, allocations: 17.27 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/1.611, allocations: 3.172 kB / 1.092 GB, free: 1.902 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,min1.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.148e-05/1.611, allocations: 118.1 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/1.611, allocations: 7.438 kB / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/1.612, allocations: 148.7 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.612, allocations: 0.9688 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.612, allocations: 5.562 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/1.612, allocations: 0 / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/1.612, allocations: 198.4 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.612, allocations: 1.766 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/1.612, allocations: 23.05 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/1.612, allocations: 4.656 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/1.612, allocations: 11.2 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.612, allocations: 4 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.612, allocations: 5.297 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/1.613, allocations: 227 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.501e-05/1.613, allocations: 87.77 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/1.613, allocations: 10.16 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/1.613, allocations: 15.56 kB / 1.093 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.565e-05/1.613, allocations: 24.95 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/1.613, allocations: 3.391 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.228e-05/1.613, allocations: 93.84 kB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.613, allocations: 3.938 kB / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000238/1.613, allocations: 20.44 kB / 1.093 GB, free: 1.117 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 (min1.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.0007915/1.614, allocations: 0.7729 MB / 1.094 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004793/1.615, allocations: 104 kB / 1.094 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.615, allocations: 0.75 kB / 1.094 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002349/1.615, allocations: 64.78 kB / 1.094 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/1.615, allocations: 13.53 kB / 1.094 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/1.618, allocations: 1.536 MB / 1.095 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/1.618, allocations: 0.6899 MB / 1.096 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.982e-05/1.618, allocations: 16.03 kB / 1.096 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.688e-05/1.618, allocations: 31.47 kB / 1.096 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/1.618, allocations: 0 / 1.096 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1573/1.775, allocations: 2.698 MB / 1.099 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/14.41, allocations: 1 kB / 1.099 GB, free: 13.93 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches