Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 223.4 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.108/3.108, allocations: 0.4892 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 74.61 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3044, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.0034/0.3078, allocations: 1.895 MB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002152/0.31, allocations: 1.216 MB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.3101, allocations: 3.938 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003523/0.3105, allocations: 87.64 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.3108, allocations: 147.4 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.3111, allocations: 127.6 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.3114, allocations: 227.4 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.3115, allocations: 45.66 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.3117, allocations: 107.5 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.3118, allocations: 103.5 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.3119, allocations: 16 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.312, allocations: 55.97 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.098e-05/0.3121, allocations: 71.69 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.07e-05/0.3122, allocations: 63.61 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.3125, allocations: 278.8 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3125, allocations: 0 / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3125, allocations: 4 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.3125, allocations: 0 / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000923/0.3135, allocations: 496.8 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3135, allocations: 8.031 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.3135, allocations: 28.75 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.3139, allocations: 233 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.3139, allocations: 15.98 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.314, allocations: 8 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.3143, allocations: 123.3 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3143, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.3143, allocations: 3.938 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3143, allocations: 4 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.3146, allocations: 83.92 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000692/0.3153, allocations: 380.1 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.3156, allocations: 126.6 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.3158, allocations: 52.83 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.3158, allocations: 0 / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.3161, allocations: 123.3 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.3161, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0006711/0.3167, allocations: 259.5 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.3168, allocations: 59.34 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.3172, allocations: 337.8 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.3172, allocations: 37.69 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.3173, allocations: 136.5 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.3174, allocations: 47.67 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.75e-05/0.3174, allocations: 57.64 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.3176, allocations: 338.8 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.3178, allocations: 87.95 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.3181, allocations: 137.1 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.3185, allocations: 187.1 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3185, allocations: 0 / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005658/0.319, allocations: 281.3 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3191, allocations: 11.94 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3191, allocations: 0 / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3191, allocations: 7.938 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.3193, allocations: 39.91 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.3193, allocations: 4.156 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.3194, allocations: 35.86 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.3194, allocations: 12 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001639/0.3196, allocations: 158 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.3197, allocations: 23.8 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005018/0.3202, allocations: 227.5 kB / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.3202, allocations: 3.984 kB / 1.335 GB, free: 9.145 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3202, allocations: 4 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3202, allocations: 0 / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008076/0.321, allocations: 0.4941 MB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.321, allocations: 0 / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.798e-05/0.3211, allocations: 15.98 kB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3211, allocations: 0 / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.3211, allocations: 4 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3211, allocations: 4 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3211, allocations: 7.938 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.3216, allocations: 309.4 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.3216, allocations: 31.8 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.3217, allocations: 0 / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.3218, allocations: 19.97 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.227e-05/0.3219, allocations: 19.97 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.3219, allocations: 4 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002302/0.3221, allocations: 213.2 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3221, allocations: 8 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003035/0.3224, allocations: 47.94 kB / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001605/0.324, allocations: 443.6 kB / 1.336 GB, free: 7.668 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004726/0.3245, allocations: 177.5 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3245, allocations: 320 / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.3247, allocations: 82.22 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.3251, allocations: 56.97 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007556/0.3259, allocations: 453.6 kB / 1.337 GB, free: 6.891 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.326, allocations: 141.2 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.843e-05/0.3261, allocations: 31.38 kB / 1.337 GB, free: 6.707 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3261, allocations: 0 / 1.337 GB, free: 6.707 MB / 1.029 GB Notification: Performance of Templates: time 0.005756/0.3318, allocations: 3.463 MB / 1.34 GB, free: 3.25 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.553012159653008]