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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001471/0.001471, allocations: 106.8 kB / 16.37 MB, free: 6.477 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.001718/0.001718, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.511/2.511, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 69.27 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3202, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002324/0.3226, allocations: 0.7793 MB / 1.028 GB, free: 1.262 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.3237, allocations: 0.8701 MB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.751e-05/0.3237, allocations: 0 / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.709e-05/0.3238, allocations: 11.81 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.516e-05/0.3239, allocations: 11.86 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.3241, allocations: 39.95 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.3242, allocations: 87.75 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.3243, allocations: 27.98 kB / 1.029 GB, free: 208 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.109e-05/0.3244, allocations: 35.91 kB / 1.029 GB, free: 172 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.3246, allocations: 43.83 kB / 1.029 GB, free: 128 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.3246, allocations: 8 kB / 1.029 GB, free: 120 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.971e-05/0.3246, allocations: 8 kB / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.761e-05/0.3247, allocations: 27.91 kB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.57e-05/0.3248, allocations: 35.78 kB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.3249, allocations: 83.73 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3249, allocations: 0 / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.567e-06/0.3249, allocations: 7.938 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3249, allocations: 3.938 kB / 1.029 GB, free: 15.95 MB / 0.8106 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.0006757/0.3256, allocations: 391.2 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3257, allocations: 8.031 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.3257, allocations: 8.844 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.3259, allocations: 180.2 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.3259, allocations: 12.38 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.3259, allocations: 4.375 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.3262, allocations: 101.7 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3263, allocations: 4 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3263, allocations: 4 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3263, allocations: 0 / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.3266, allocations: 107.8 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.3272, allocations: 332.7 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006461/0.3279, allocations: 122.5 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.3281, allocations: 68.78 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.3281, allocations: 0 / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.3282, allocations: 38.56 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.3282, allocations: 0 / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0007208/0.3289, allocations: 181.5 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.329, allocations: 59.34 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.3291, allocations: 125.8 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.3292, allocations: 29.7 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.944e-05/0.3292, allocations: 92.03 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.3293, allocations: 19.75 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.3293, allocations: 25.7 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3295, allocations: 326.7 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.3297, allocations: 43.95 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.3299, allocations: 47.94 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.3302, allocations: 100.7 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3302, allocations: 0 / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004184/0.3307, allocations: 141.4 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.3307, allocations: 8 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.3307, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.3307, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.3309, allocations: 27.97 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3309, allocations: 0 / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.3311, allocations: 19.92 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.3311, allocations: 4 kB / 1.031 GB, free: 13.15 MB / 0.8106 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.0001558/0.3313, allocations: 121.8 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.3313, allocations: 3.906 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/0.3319, allocations: 153.9 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3319, allocations: 0 / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.3319, allocations: 0 / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3319, allocations: 3.938 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.3322, allocations: 205.5 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3322, allocations: 0 / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.3324, allocations: 23.97 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3324, allocations: 4 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.3324, allocations: 4 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3324, allocations: 3.984 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3324, allocations: 4 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004927/0.3329, allocations: 235.9 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.333, allocations: 85.02 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.333, allocations: 0 / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.3332, allocations: 15.98 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/0.3333, allocations: 23.97 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.3333, allocations: 3.938 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.142e-05/0.3334, allocations: 95.27 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3334, allocations: 3.938 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002369/0.3336, allocations: 16 kB / 1.032 GB, free: 12.06 MB / 0.8106 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.0001496/0.3338, allocations: 103.2 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004272/0.3342, allocations: 103.9 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3342, allocations: 0 / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.3344, allocations: 60.12 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.3348, allocations: 24.14 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/0.3353, allocations: 172.9 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.3357, allocations: 0.6923 MB / 1.033 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.551e-05/0.3357, allocations: 19.92 kB / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.3358, allocations: 19.44 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3358, allocations: 0 / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of Templates: time 0.004137/0.3399, allocations: 1.563 MB / 1.035 GB, free: 9.262 MB / 0.8106 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=480 -s gbode -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