Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 104.5 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.001651/0.001651, 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.422/1.422, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.566/2.566, allocations: 437.1 MB / 0.711 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 75.91 kB / 0.8699 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3225, allocations: 151.6 MB / 1.018 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002222/0.3247, allocations: 0.7772 MB / 1.019 GB, free: 9.906 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.3259, allocations: 0.874 MB / 1.02 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.3259, allocations: 0 / 1.02 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.326, allocations: 7.875 kB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.435e-05/0.3261, allocations: 7.875 kB / 1.02 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.3263, allocations: 43.94 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.3264, allocations: 87.73 kB / 1.02 GB, free: 8.875 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.3266, allocations: 23.97 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.886e-05/0.3266, allocations: 43.84 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.615e-05/0.3267, allocations: 43.83 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.3268, allocations: 12 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.883e-05/0.3268, allocations: 8 kB / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.42e-05/0.3268, allocations: 27.89 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.3269, allocations: 31.8 kB / 1.02 GB, free: 8.688 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.327, allocations: 87.72 kB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.327, allocations: 0 / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.803e-06/0.327, allocations: 0 / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.3271, allocations: 0 / 1.02 GB, free: 8.602 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.0006942/0.3278, allocations: 399.4 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3278, allocations: 12.92 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.3278, allocations: 12.84 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.328, allocations: 176.2 kB / 1.021 GB, free: 7.93 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.3281, allocations: 4.375 kB / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.3281, allocations: 8.375 kB / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.3284, allocations: 101.7 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3284, allocations: 0 / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3285, allocations: 8 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3285, allocations: 0 / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003886/0.3289, allocations: 103.8 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005903/0.3295, allocations: 336.7 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/0.3301, allocations: 122.5 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.3303, allocations: 54.41 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.3303, allocations: 7.984 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.3304, allocations: 38.56 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.3304, allocations: 0 / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.000705/0.3311, allocations: 173.5 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.3311, allocations: 67.33 kB / 1.022 GB, free: 6.832 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.3313, allocations: 121.8 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.3313, allocations: 29.64 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.3314, allocations: 96.03 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.3314, allocations: 15.75 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.3315, allocations: 25.7 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3316, allocations: 322.8 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.3318, allocations: 47.95 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.332, allocations: 43.95 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003758/0.3324, allocations: 100.7 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3324, allocations: 0 / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004372/0.3328, allocations: 141.5 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3329, allocations: 11.94 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3329, allocations: 0 / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.3329, allocations: 0 / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.3331, allocations: 27.97 kB / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.3331, allocations: 0 / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.3332, allocations: 19.92 kB / 1.023 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.3332, allocations: 7.984 kB / 1.023 GB, free: 5.797 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,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 0.0001165/0.3334, allocations: 109.8 kB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.3334, allocations: 11.91 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005007/0.3339, allocations: 153.9 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3339, allocations: 0 / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3339, allocations: 0 / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.3339, allocations: 7.922 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.3342, allocations: 201.5 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3342, allocations: 0 / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.3344, allocations: 27.95 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3344, allocations: 0 / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.3344, allocations: 3.984 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3344, allocations: 0 / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3344, allocations: 4.625 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.3349, allocations: 243.3 kB / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.335, allocations: 84.95 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.335, allocations: 3.938 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.3352, allocations: 15.98 kB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/0.3352, allocations: 23.97 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.3353, allocations: 3.938 kB / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.454e-05/0.3353, allocations: 99.27 kB / 1.023 GB, free: 4.719 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3353, allocations: 0 / 1.023 GB, free: 4.719 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002282/0.3356, allocations: 12 kB / 1.023 GB, free: 4.707 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 (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.0001459/0.3357, allocations: 95.25 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004571/0.3362, allocations: 115.8 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3362, allocations: 4 kB / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.3364, allocations: 59.94 kB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.3367, allocations: 11.98 kB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004766/0.3372, allocations: 196.6 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.3376, allocations: 0.6903 MB / 1.025 GB, free: 3.473 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.3376, allocations: 27.36 kB / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3376, allocations: 0 / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of Templates: time 0.003086/0.3407, allocations: 1.237 MB / 1.026 GB, free: 2.223 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches