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.001279/0.001279, allocations: 104.8 kB / 16.27 MB, free: 5.996 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.0013/0.0013, allocations: 186.3 kB / 17.2 MB, free: 5.605 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.498/1.498, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.559/2.559, allocations: 437.1 MB / 0.7111 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 76.14 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3211, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002119/0.3233, allocations: 0.7811 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3244, allocations: 0.8701 MB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.468e-05/0.3244, allocations: 0 / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.05e-05/0.3245, allocations: 7.875 kB / 1.02 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.6e-05/0.3246, allocations: 11.88 kB / 1.02 GB, free: 8.945 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.3248, allocations: 39.89 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.3249, allocations: 87.78 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.3251, allocations: 27.97 kB / 1.02 GB, free: 8.793 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.008e-05/0.3251, allocations: 35.86 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.863e-05/0.3252, allocations: 47.81 kB / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.3253, allocations: 8 kB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.058e-05/0.3253, allocations: 12 kB / 1.02 GB, free: 8.691 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.106e-05/0.3253, allocations: 27.84 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.3254, allocations: 39.78 kB / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.3255, allocations: 87.72 kB / 1.02 GB, free: 8.539 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3255, allocations: 0 / 1.02 GB, free: 8.539 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3255, allocations: 0 / 1.02 GB, free: 8.539 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.3256, allocations: 0 / 1.02 GB, free: 8.539 MB / 0.795 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.0007048/0.3263, allocations: 395.5 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3263, allocations: 12.92 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.3264, allocations: 8.844 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.3266, allocations: 176.2 kB / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.3266, allocations: 4.375 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.3266, allocations: 8.375 kB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.3269, allocations: 110.2 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.327, allocations: 0 / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.327, allocations: 0 / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.327, allocations: 4 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.3274, allocations: 99.89 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005981/0.328, allocations: 344.6 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006301/0.3286, allocations: 122.5 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.3288, allocations: 50.34 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/0.3289, allocations: 8 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.3289, allocations: 34.56 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.3289, allocations: 0 / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0007034/0.3296, allocations: 185.4 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.3297, allocations: 55.39 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.3298, allocations: 121.8 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.3299, allocations: 29.64 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.512e-05/0.3299, allocations: 100 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.33, allocations: 11.75 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.33, allocations: 25.7 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3302, allocations: 326.8 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.3304, allocations: 47.95 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.3306, allocations: 43.95 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.331, allocations: 96.72 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.331, allocations: 0 / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004426/0.3314, allocations: 145.4 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3314, allocations: 4 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3315, allocations: 0 / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3315, allocations: 0 / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.3316, allocations: 23.97 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.3317, allocations: 8 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.3318, allocations: 11.92 kB / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.3318, allocations: 15.98 kB / 1.023 GB, free: 5.742 MB / 0.795 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.0001074/0.3319, allocations: 113.8 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.332, allocations: 7.906 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004791/0.3324, allocations: 149.9 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3325, allocations: 4 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3325, allocations: 0 / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3325, allocations: 7.922 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.3327, allocations: 197.6 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3327, allocations: 0 / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.3329, allocations: 23.97 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3329, allocations: 0 / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.3329, allocations: 7.984 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3329, allocations: 0 / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3329, allocations: 0 / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004939/0.3334, allocations: 251.8 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.3335, allocations: 81.02 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.3335, allocations: 7.938 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.3337, allocations: 7.984 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.3338, allocations: 27.97 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.3338, allocations: 7.938 kB / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.136e-05/0.3339, allocations: 95.27 kB / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3339, allocations: 0 / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002299/0.3341, allocations: 12 kB / 1.023 GB, free: 4.656 MB / 0.795 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.0001399/0.3342, allocations: 99.25 kB / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000467/0.3347, allocations: 115.9 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.3347, allocations: 4 kB / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.3349, allocations: 59.95 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.3353, allocations: 11.98 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.3357, allocations: 200.8 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.3361, allocations: 0.6885 MB / 1.025 GB, free: 3.414 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.154e-05/0.3362, allocations: 23.36 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3362, allocations: 0 / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of Templates: time 0.002929/0.3391, allocations: 1.234 MB / 1.026 GB, free: 2.168 MB / 0.795 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=400 -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/jenkins1/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