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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 113.1 kB / 17.08 MB, free: 5.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002314/0.002314, allocations: 191.7 kB / 20.03 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 437.1 MB / 0.7178 GB, free: 4.547 MB / 0.5606 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 71.89 kB / 1.028 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2861, allocations: 151.6 MB / 1.176 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003303/0.2894, allocations: 1.998 MB / 1.178 GB, free: 3.934 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001984/0.2914, allocations: 1.193 MB / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.2915, allocations: 7.938 kB / 1.179 GB, free: 2.727 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.292, allocations: 163.4 kB / 1.179 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.2923, allocations: 159.4 kB / 1.179 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/0.2928, allocations: 222.1 kB / 1.18 GB, free: 2.195 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003797/0.2932, allocations: 311.1 kB / 1.18 GB, free: 1.891 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.2934, allocations: 56.31 kB / 1.18 GB, free: 1.832 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.2936, allocations: 143.4 kB / 1.18 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.2938, allocations: 143.4 kB / 1.18 GB, free: 1.551 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.2938, allocations: 16 kB / 1.18 GB, free: 1.535 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.294, allocations: 55.97 kB / 1.18 GB, free: 1.48 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.2941, allocations: 95.61 kB / 1.18 GB, free: 1.387 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.2943, allocations: 123.2 kB / 1.18 GB, free: 1.266 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004362/0.2947, allocations: 362.4 kB / 1.181 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2947, allocations: 4 kB / 1.181 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2947, allocations: 0 / 1.181 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.874e-06/0.2947, allocations: 4 kB / 1.181 GB, free: 0.9023 MB / 0.92 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.001013/0.2958, allocations: 0.6359 MB / 1.181 GB, free: 224 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2958, allocations: 12.03 kB / 1.181 GB, free: 212 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.355e-05/0.2959, allocations: 32.75 kB / 1.181 GB, free: 180 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005452/0.2964, allocations: 386.2 kB / 1.182 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.2965, allocations: 15.98 kB / 1.182 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.2965, allocations: 4 kB / 1.182 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.2967, allocations: 105.6 kB / 1.182 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2968, allocations: 0 / 1.182 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.2968, allocations: 0 / 1.182 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2968, allocations: 4 kB / 1.182 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.297, allocations: 63.86 kB / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007743/0.2977, allocations: 496.4 kB / 1.182 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.2981, allocations: 138.7 kB / 1.183 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.2982, allocations: 48.83 kB / 1.183 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.2983, allocations: 7.984 kB / 1.183 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.2985, allocations: 107.3 kB / 1.183 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.2985, allocations: 0 / 1.183 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005632/0.2991, allocations: 229.2 kB / 1.183 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.2992, allocations: 55.41 kB / 1.183 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005974/0.2998, allocations: 0.5093 MB / 1.184 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.2998, allocations: 29.7 kB / 1.184 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.2999, allocations: 168.4 kB / 1.184 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.3, allocations: 35.73 kB / 1.184 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.3001, allocations: 73.91 kB / 1.184 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3003, allocations: 346.8 kB / 1.184 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.3005, allocations: 104.5 kB / 1.184 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.3007, allocations: 131.6 kB / 1.184 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.3011, allocations: 183.5 kB / 1.185 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3011, allocations: 0 / 1.185 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005528/0.3016, allocations: 317.3 kB / 1.185 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3017, allocations: 11.94 kB / 1.185 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3017, allocations: 3.984 kB / 1.185 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3017, allocations: 4 kB / 1.185 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.3019, allocations: 47.98 kB / 1.185 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.3019, allocations: 7.984 kB / 1.185 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.3021, allocations: 15.89 kB / 1.185 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.3021, allocations: 12 kB / 1.185 GB, free: 12.39 MB / 0.9356 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.0001853/0.3023, allocations: 189.7 kB / 1.185 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.3024, allocations: 39.7 kB / 1.185 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.44e-05/0.3024, allocations: 39.06 kB / 1.185 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3024, allocations: 0 / 1.185 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3024, allocations: 3.984 kB / 1.185 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3025, allocations: 4 kB / 1.185 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.3028, allocations: 301.5 kB / 1.185 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3028, allocations: 0 / 1.185 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.054e-05/0.3028, allocations: 11.98 kB / 1.185 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.3029, allocations: 7.938 kB / 1.186 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3029, allocations: 0 / 1.186 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3029, allocations: 0 / 1.186 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3029, allocations: 0 / 1.186 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.3033, allocations: 224.1 kB / 1.186 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.675e-05/0.3034, allocations: 108.9 kB / 1.186 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.3034, allocations: 7.922 kB / 1.186 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.33e-05/0.3035, allocations: 11.94 kB / 1.186 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.3036, allocations: 19.97 kB / 1.186 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3036, allocations: 4 kB / 1.186 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003557/0.304, allocations: 319.1 kB / 1.186 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.304, allocations: 0 / 1.186 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002886/0.3043, allocations: 59.89 kB / 1.186 GB, free: 10.98 MB / 0.9356 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.001482/0.3058, allocations: 420.3 kB / 1.187 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004308/0.3062, allocations: 199.8 kB / 1.187 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3062, allocations: 0 / 1.187 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.3064, allocations: 55.97 kB / 1.187 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.3069, allocations: 98.78 kB / 1.187 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008683/0.3077, allocations: 0.5677 MB / 1.188 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.3082, allocations: 0.7831 MB / 1.188 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.162e-05/0.3083, allocations: 39.42 kB / 1.188 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.3083, allocations: 0 / 1.188 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of Templates: time 0.00704/0.3153, allocations: 4.407 MB / 1.193 GB, free: 4.539 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (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) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.159342177095823]