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.001687/0.001687, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.002106/0.002106, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.932/2.932, allocations: 0.49 GB / 0.7923 GB, free: 1.375 MB / 0.6231 GB " [Timeout remaining time 176] 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.00239/0.00239, allocations: 71.89 kB / 1.15 GB, free: 14 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 176.1 MB / 1.322 GB, free: 7.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004338/1.025, allocations: 1.949 MB / 1.324 GB, free: 6.402 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002508/1.028, allocations: 1.29 MB / 1.325 GB, free: 5.402 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/1.028, allocations: 5.531 kB / 1.325 GB, free: 5.398 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003723/1.028, allocations: 96.09 kB / 1.325 GB, free: 5.34 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004105/1.029, allocations: 140.3 kB / 1.325 GB, free: 5.242 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/1.029, allocations: 128.6 kB / 1.325 GB, free: 5.145 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003133/1.029, allocations: 230.5 kB / 1.326 GB, free: 5.008 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/1.03, allocations: 30.73 kB / 1.326 GB, free: 4.988 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/1.03, allocations: 108.5 kB / 1.326 GB, free: 4.922 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/1.03, allocations: 108.9 kB / 1.326 GB, free: 4.855 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/1.03, allocations: 13.38 kB / 1.326 GB, free: 4.855 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/1.03, allocations: 61.25 kB / 1.326 GB, free: 4.832 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.539e-05/1.03, allocations: 58.81 kB / 1.326 GB, free: 4.793 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.487e-05/1.03, allocations: 89.09 kB / 1.326 GB, free: 4.723 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003708/1.031, allocations: 291.5 kB / 1.326 GB, free: 4.52 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.031, allocations: 0 / 1.326 GB, free: 4.52 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.423e-06/1.031, allocations: 0 / 1.326 GB, free: 4.52 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.165e-05/1.031, allocations: 0 / 1.326 GB, free: 4.52 MB / 1.014 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.0009749/1.032, allocations: 0.5471 MB / 1.327 GB, free: 4 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/1.032, allocations: 17.28 kB / 1.327 GB, free: 3.992 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.25e-05/1.032, allocations: 28.44 kB / 1.327 GB, free: 3.977 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/1.032, allocations: 300.8 kB / 1.327 GB, free: 3.691 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/1.032, allocations: 12.62 kB / 1.327 GB, free: 3.684 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/1.032, allocations: 11.91 kB / 1.327 GB, free: 3.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/1.033, allocations: 117.1 kB / 1.327 GB, free: 3.602 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/1.033, allocations: 0 / 1.327 GB, free: 3.602 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/1.033, allocations: 9.125 kB / 1.327 GB, free: 3.594 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/1.033, allocations: 3.25 kB / 1.327 GB, free: 3.594 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/1.033, allocations: 89.39 kB / 1.328 GB, free: 3.551 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007256/1.034, allocations: 452.1 kB / 1.328 GB, free: 3.141 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/1.034, allocations: 125.2 kB / 1.328 GB, free: 3.062 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/1.034, allocations: 53.92 kB / 1.328 GB, free: 3.031 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/1.034, allocations: 5.141 kB / 1.328 GB, free: 3.027 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002914/1.034, allocations: 125.4 kB / 1.328 GB, free: 2.934 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/1.034, allocations: 1.469 kB / 1.328 GB, free: 2.934 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.0007558/1.035, allocations: 251.3 kB / 1.328 GB, free: 2.801 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/1.035, allocations: 53.69 kB / 1.329 GB, free: 2.738 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005449/1.036, allocations: 340.2 kB / 1.329 GB, free: 2.523 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/1.036, allocations: 36.39 kB / 1.329 GB, free: 2.484 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/1.036, allocations: 136.2 kB / 1.329 GB, free: 2.355 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.6e-05/1.036, allocations: 46.45 kB / 1.329 GB, free: 2.316 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/1.036, allocations: 63.64 kB / 1.329 GB, free: 2.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002073/1.036, allocations: 338.7 kB / 1.329 GB, free: 1.938 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/1.037, allocations: 86.14 kB / 1.33 GB, free: 1.898 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/1.037, allocations: 130 kB / 1.33 GB, free: 1.809 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/1.037, allocations: 195.5 kB / 1.33 GB, free: 1.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/1.037, allocations: 1.156 kB / 1.33 GB, free: 1.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006978/1.038, allocations: 281.3 kB / 1.33 GB, free: 1.539 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/1.038, allocations: 5.125 kB / 1.33 GB, free: 1.539 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/1.038, allocations: 1.844 kB / 1.33 GB, free: 1.539 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/1.038, allocations: 1.656 kB / 1.33 GB, free: 1.539 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/1.038, allocations: 46.84 kB / 1.33 GB, free: 1.523 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/1.038, allocations: 2.844 kB / 1.33 GB, free: 1.523 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/1.039, allocations: 26.66 kB / 1.33 GB, free: 1.508 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/1.039, allocations: 11.09 kB / 1.33 GB, free: 1.504 MB / 1.014 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.0001851/1.039, allocations: 158.3 kB / 1.33 GB, free: 1.363 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/1.039, allocations: 26.08 kB / 1.33 GB, free: 1.348 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.037e-05/1.039, allocations: 31.06 kB / 1.33 GB, free: 1.324 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.039, allocations: 1.781 kB / 1.33 GB, free: 1.324 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.039, allocations: 0 / 1.33 GB, free: 1.324 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/1.039, allocations: 5.328 kB / 1.33 GB, free: 1.32 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009278/1.04, allocations: 0.5493 MB / 1.331 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.04, allocations: 1.625 kB / 1.331 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.752e-05/1.04, allocations: 13.86 kB / 1.331 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/1.04, allocations: 0 / 1.331 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/1.04, allocations: 5.625 kB / 1.331 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.04, allocations: 2.438 kB / 1.331 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.04, allocations: 4 kB / 1.331 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005212/1.04, allocations: 312.4 kB / 1.331 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.82e-05/1.041, allocations: 97.22 kB / 1.331 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/1.041, allocations: 6.75 kB / 1.331 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/1.041, allocations: 14.84 kB / 1.331 GB, free: 0.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.633e-05/1.041, allocations: 14.86 kB / 1.331 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/1.041, allocations: 5.5 kB / 1.331 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00023/1.041, allocations: 222.8 kB / 1.332 GB, free: 356 kB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.041, allocations: 3.938 kB / 1.332 GB, free: 352 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003441/1.041, allocations: 49.06 kB / 1.332 GB, free: 340 kB / 1.014 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 (16): * Single equations (assignments): 11 * 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.00164/1.043, allocations: 420.8 kB / 1.332 GB, free: 132 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005009/1.044, allocations: 174.5 kB / 1.332 GB, free: 60 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.044, allocations: 0 / 1.332 GB, free: 60 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/1.044, allocations: 69.19 kB / 1.332 GB, free: 28 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/1.044, allocations: 53.53 kB / 1.332 GB, free: 4 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000902/1.045, allocations: 459.5 kB / 1.333 GB, free: 15.67 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/1.046, allocations: 0.7598 MB / 1.334 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.982e-05/1.046, allocations: 25.72 kB / 1.334 GB, free: 14.93 MB / 1.029 GB Notification: Performance of SimCode: time 4.2e-07/1.046, allocations: 1.312 kB / 1.334 GB, free: 14.93 MB / 1.029 GB Notification: Performance of Templates: time 0.006389/1.052, allocations: 3.352 MB / 1.337 GB, free: 13.19 MB / 1.029 GB " [Timeout remaining time 299] 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: 12.010725426996942]