Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 106.3 kB / 16.27 MB, free: 6.406 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.001819/0.001819, allocations: 191.1 kB / 17.2 MB, free: 5.969 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.413/1.413, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.511/2.511, allocations: 437.1 MB / 0.7111 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 75.72 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2893, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003561/0.2929, allocations: 1.997 MB / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001998/0.2949, allocations: 1.205 MB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.295, allocations: 4 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000403/0.2954, allocations: 155.4 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.2958, allocations: 159.4 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.2963, allocations: 228.3 kB / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.2967, allocations: 319.1 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.2969, allocations: 48.39 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.2971, allocations: 135.5 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.2973, allocations: 151.4 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.2973, allocations: 12 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.2975, allocations: 55.91 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.2976, allocations: 91.73 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.2977, allocations: 127.1 kB / 1.023 GB, free: 5.953 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004706/0.2982, allocations: 359.1 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2982, allocations: 0 / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.506e-06/0.2982, allocations: 0 / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.2982, allocations: 7.938 kB / 1.023 GB, free: 5.594 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001016/0.2993, allocations: 0.6069 MB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2993, allocations: 8.922 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.212e-05/0.2994, allocations: 36.47 kB / 1.024 GB, free: 4.895 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.2999, allocations: 382 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.3, allocations: 11.98 kB / 1.024 GB, free: 4.469 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.3, allocations: 8 kB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.3003, allocations: 105.6 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3003, allocations: 3.984 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.3003, allocations: 4 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3003, allocations: 0 / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.3005, allocations: 63.89 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000818/0.3013, allocations: 0.4887 MB / 1.025 GB, free: 3.742 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.3017, allocations: 134.7 kB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.3018, allocations: 52.83 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.3019, allocations: 0 / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/0.3021, allocations: 115.4 kB / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.3021, allocations: 0 / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0005605/0.3027, allocations: 225.1 kB / 1.025 GB, free: 3.195 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.3027, allocations: 51.41 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006114/0.3034, allocations: 0.5054 MB / 1.026 GB, free: 2.621 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.3034, allocations: 33.7 kB / 1.026 GB, free: 2.582 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.3036, allocations: 172.4 kB / 1.026 GB, free: 2.41 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.3036, allocations: 35.56 kB / 1.026 GB, free: 2.375 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.3037, allocations: 73.86 kB / 1.026 GB, free: 2.297 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3039, allocations: 342.8 kB / 1.026 GB, free: 1.953 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.3041, allocations: 104.5 kB / 1.026 GB, free: 1.852 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.3044, allocations: 132.1 kB / 1.026 GB, free: 1.715 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.3048, allocations: 187.9 kB / 1.027 GB, free: 1.523 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3048, allocations: 0 / 1.027 GB, free: 1.523 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005943/0.3054, allocations: 321.2 kB / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3054, allocations: 7.984 kB / 1.027 GB, free: 1.195 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3054, allocations: 3.938 kB / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.3054, allocations: 4 kB / 1.027 GB, free: 1.188 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.3057, allocations: 51.97 kB / 1.027 GB, free: 1.137 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.3057, allocations: 4 kB / 1.027 GB, free: 1.133 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.3058, allocations: 15.84 kB / 1.027 GB, free: 1.117 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.3059, allocations: 15.98 kB / 1.027 GB, free: 1.102 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002033/0.3061, allocations: 185.7 kB / 1.027 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.3061, allocations: 27.62 kB / 1.027 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.475e-05/0.3062, allocations: 39.06 kB / 1.027 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3062, allocations: 0 / 1.027 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3062, allocations: 8 kB / 1.027 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3062, allocations: 0 / 1.027 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.3066, allocations: 305.3 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3066, allocations: 0 / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.975e-05/0.3067, allocations: 15.98 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3067, allocations: 0 / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.3067, allocations: 7.938 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.3067, allocations: 0 / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3067, allocations: 0 / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003962/0.3071, allocations: 212.6 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.891e-05/0.3072, allocations: 108.7 kB / 1.028 GB, free: 116 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.906e-05/0.3073, allocations: 15.86 kB / 1.028 GB, free: 100 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3074, allocations: 8 kB / 1.028 GB, free: 92 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/0.3075, allocations: 15.97 kB / 1.028 GB, free: 76 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.3075, allocations: 8 kB / 1.028 GB, free: 68 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003936/0.3079, allocations: 315.1 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3079, allocations: 0 / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003181/0.3082, allocations: 55.91 kB / 1.028 GB, free: 15.71 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: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001599/0.3098, allocations: 438 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004655/0.3103, allocations: 195.4 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3103, allocations: 0 / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.3105, allocations: 59.91 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.3109, allocations: 102 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008993/0.3119, allocations: 0.5568 MB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/0.3124, allocations: 0.7831 MB / 1.03 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.455e-05/0.3125, allocations: 31.42 kB / 1.03 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of SimCode: time 2.144e-06/0.3125, allocations: 0 / 1.03 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of Templates: time 0.007441/0.3199, allocations: 4.403 MB / 1.035 GB, free: 9.289 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches