Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002059/0.00206, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003157/0.003157, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.593/1.593, allocations: 222.9 MB / 240.2 MB, free: 4.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.043/3.043, allocations: 437 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002425/0.002426, allocations: 63.91 kB / 0.8692 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8977/0.9001, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002527/0.9027, allocations: 0.7787 MB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.9041, allocations: 0.8741 MB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.337e-05/0.9042, allocations: 0 / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.408e-05/0.9042, allocations: 7.875 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.9044, allocations: 15.91 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.9046, allocations: 39.83 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.9048, allocations: 71.91 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.9049, allocations: 39.95 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.905, allocations: 39.78 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.9052, allocations: 47.81 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.9052, allocations: 8 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.21e-05/0.9052, allocations: 8 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.9053, allocations: 23.92 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/0.9053, allocations: 31.86 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.9055, allocations: 91.64 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9055, allocations: 4 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9055, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.9055, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 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.000826/0.9063, allocations: 397.3 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.9064, allocations: 8.031 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.9065, allocations: 8.844 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.9067, allocations: 180.2 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.9067, allocations: 12.38 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.9068, allocations: 4.375 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.9071, allocations: 105.7 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.9071, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.9072, allocations: 4 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.9072, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.9076, allocations: 99.66 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006141/0.9082, allocations: 348.5 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000655/0.9089, allocations: 122.6 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.9091, allocations: 52.81 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.9091, allocations: 4 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.9091, allocations: 30.56 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.9091, allocations: 3.938 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0007174/0.9099, allocations: 185.5 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.9099, allocations: 51.41 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.91, allocations: 121.8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.9101, allocations: 29.7 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.9102, allocations: 96.08 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.9102, allocations: 31.58 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.9103, allocations: 17.72 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.9104, allocations: 326.8 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.9106, allocations: 47.94 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.9108, allocations: 43.95 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.9112, allocations: 100.7 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.9112, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004327/0.9116, allocations: 133.5 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.9116, allocations: 4 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.9117, allocations: 4 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.9117, allocations: 3.984 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.9119, allocations: 23.97 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.9119, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.912, allocations: 19.92 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.912, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 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 0.0001097/0.9122, allocations: 121.8 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.9122, allocations: 11.91 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.9127, allocations: 145.9 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.9127, allocations: 3.984 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.9127, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.9127, allocations: 7.938 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.913, allocations: 197.6 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.913, allocations: 4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.9132, allocations: 23.97 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.9132, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.9132, allocations: 8 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.9132, allocations: 3.938 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9132, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.9137, allocations: 235.9 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.9138, allocations: 85.02 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.9138, allocations: 3.984 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.9139, allocations: 15.98 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.643e-05/0.914, allocations: 15.98 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.9141, allocations: 11.92 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.499e-05/0.9141, allocations: 95.2 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9141, allocations: 4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002415/0.9144, allocations: 19.94 kB / 1.023 GB, free: 12.52 MB / 0.7794 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.0001423/0.9145, allocations: 99.25 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004645/0.915, allocations: 111.9 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.915, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.9152, allocations: 63.88 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.9157, allocations: 11.94 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.9162, allocations: 170.4 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.9166, allocations: 0.6924 MB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.925e-05/0.9166, allocations: 12 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.602e-05/0.9167, allocations: 19.42 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.9167, allocations: 0 / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of Templates: time 0.00508/0.9218, allocations: 1.577 MB / 1.025 GB, free: 9.711 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches