Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001262/0.001262, allocations: 105 kB / 15.99 MB, free: 6.355 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.001231/0.001231, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.482/1.482, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.788/2.788, allocations: 482.4 MB / 0.755 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 69.83 kB / 0.924 GB, free: 332 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.824/0.826, allocations: 162.2 MB / 1.082 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002134/0.8282, allocations: 0.8301 MB / 1.083 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.8292, allocations: 0.8652 MB / 1.084 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.8293, allocations: 2 kB / 1.084 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.142e-05/0.8293, allocations: 0.6562 kB / 1.084 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.313e-05/0.8294, allocations: 10 kB / 1.084 GB, free: 440 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.8296, allocations: 37.78 kB / 1.084 GB, free: 416 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.8298, allocations: 78.75 kB / 1.084 GB, free: 384 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.8299, allocations: 26.19 kB / 1.084 GB, free: 372 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.8301, allocations: 44.42 kB / 1.084 GB, free: 348 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.8302, allocations: 44.78 kB / 1.084 GB, free: 328 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.8302, allocations: 11.38 kB / 1.084 GB, free: 324 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.242e-05/0.8302, allocations: 7.938 kB / 1.084 GB, free: 324 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.8303, allocations: 24 kB / 1.084 GB, free: 308 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.8303, allocations: 30.89 kB / 1.084 GB, free: 288 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.8304, allocations: 67.38 kB / 1.084 GB, free: 264 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.8305, allocations: 5.125 kB / 1.084 GB, free: 260 kB / 0.8262 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8305, allocations: 0 / 1.084 GB, free: 260 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.8305, allocations: 0.8438 kB / 1.084 GB, free: 260 kB / 0.8262 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.0007216/0.8312, allocations: 393 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.8313, allocations: 8.719 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.8313, allocations: 9.438 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.8315, allocations: 174.4 kB / 1.085 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.8315, allocations: 11.59 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.8316, allocations: 4.75 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.8319, allocations: 109 kB / 1.085 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.8319, allocations: 1.438 kB / 1.085 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.832, allocations: 7.984 kB / 1.085 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.832, allocations: 2.062 kB / 1.085 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004487/0.8324, allocations: 96.52 kB / 1.085 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007166/0.8332, allocations: 354.2 kB / 1.086 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006989/0.8339, allocations: 118.3 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.8341, allocations: 55.38 kB / 1.086 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.8341, allocations: 0.8125 kB / 1.086 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.8342, allocations: 32.36 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.8342, allocations: 0.5938 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0007528/0.8349, allocations: 187.4 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.835, allocations: 52.81 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.8351, allocations: 123.2 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.8352, allocations: 29.7 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.446e-05/0.8353, allocations: 101.9 kB / 1.086 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.8353, allocations: 19.34 kB / 1.086 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.8354, allocations: 27.86 kB / 1.086 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.8356, allocations: 324.2 kB / 1.087 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.8358, allocations: 42.64 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.836, allocations: 45.73 kB / 1.087 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.8363, allocations: 99.84 kB / 1.087 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8364, allocations: 0 / 1.087 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004524/0.8368, allocations: 139.2 kB / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.8368, allocations: 9.75 kB / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.8369, allocations: 1.125 kB / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.8369, allocations: 0 / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.8371, allocations: 25.3 kB / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.8371, allocations: 4.062 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.8372, allocations: 21.92 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.8373, allocations: 1.219 kB / 1.087 GB, free: 14.3 MB / 0.8419 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.0001166/0.8374, allocations: 115 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.8374, allocations: 10.41 kB / 1.087 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005168/0.8379, allocations: 154.5 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.838, allocations: 1 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.838, allocations: 0 / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.838, allocations: 4.5 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.8383, allocations: 204.1 kB / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.8383, allocations: 0 / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.8384, allocations: 24.17 kB / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.8384, allocations: 0 / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.8385, allocations: 6.344 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.8385, allocations: 1.188 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8385, allocations: 0.5625 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005068/0.839, allocations: 239.5 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.765e-05/0.8391, allocations: 83.22 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.8391, allocations: 1.578 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.8393, allocations: 20.47 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.8394, allocations: 21.34 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.8394, allocations: 7.906 kB / 1.088 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.559e-05/0.8395, allocations: 100.3 kB / 1.088 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8395, allocations: 0 / 1.088 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002398/0.8397, allocations: 15.41 kB / 1.088 GB, free: 13.51 MB / 0.8419 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.0001449/0.8399, allocations: 102.2 kB / 1.088 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004899/0.8404, allocations: 107.8 kB / 1.088 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.8404, allocations: 7.938 kB / 1.088 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.8406, allocations: 55.47 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.841, allocations: 10.36 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.8415, allocations: 232.4 kB / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.8418, allocations: 0.6895 MB / 1.089 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.279e-05/0.8419, allocations: 16.67 kB / 1.089 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.8419, allocations: 0 / 1.089 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of Templates: time 0.003553/0.8455, allocations: 1.234 MB / 1.09 GB, free: 12.38 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches