Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001469/0.001469, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.354/1.354, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.732/2.732, allocations: 469.8 MB / 0.7427 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 75.19 kB / 0.9087 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2755, allocations: 159.1 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003513/0.279, allocations: 1.981 MB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.2808, allocations: 1.103 MB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.2809, allocations: 3.938 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.2813, allocations: 91.75 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.2815, allocations: 79.73 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.2819, allocations: 136.6 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.2822, allocations: 211.5 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.2824, allocations: 49.66 kB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.2825, allocations: 99.55 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.2827, allocations: 107.5 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.2827, allocations: 12 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.2828, allocations: 63.95 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.321e-05/0.2829, allocations: 55.83 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.938e-05/0.283, allocations: 99.39 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.2833, allocations: 199.9 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.2833, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2833, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.2833, allocations: 4 kB / 1.068 GB, free: 10.3 MB / 0.8262 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.000909/0.2842, allocations: 0.5451 MB / 1.069 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.2843, allocations: 12.03 kB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.333e-05/0.2844, allocations: 24.66 kB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.2847, allocations: 283.5 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.2848, allocations: 8 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.2848, allocations: 15.94 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.2851, allocations: 109.6 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2851, allocations: 0 / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.2851, allocations: 15.88 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.2851, allocations: 0 / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.2854, allocations: 91.92 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000718/0.2861, allocations: 448.3 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.2865, allocations: 134.6 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.2867, allocations: 56.77 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.2867, allocations: 7.938 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002905/0.287, allocations: 123.3 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.287, allocations: 0 / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0006421/0.2877, allocations: 250.9 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.2877, allocations: 55.41 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.2881, allocations: 326.5 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.2881, allocations: 37.7 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.2882, allocations: 140.3 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.2883, allocations: 35.55 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-05/0.2884, allocations: 65.59 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2885, allocations: 334.8 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.2887, allocations: 79.95 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.289, allocations: 133.1 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.2893, allocations: 190.5 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.2894, allocations: 3.938 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005486/0.2899, allocations: 274.4 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2899, allocations: 4 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2899, allocations: 4.141 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.29, allocations: 11.98 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.2902, allocations: 43.91 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2902, allocations: 0 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.2903, allocations: 23.89 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.2904, allocations: 12 kB / 1.072 GB, free: 6.215 MB / 0.8262 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.0001564/0.2905, allocations: 161.8 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.2906, allocations: 27.66 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.356e-05/0.2906, allocations: 26.19 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2906, allocations: 0 / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2907, allocations: 3.938 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2907, allocations: 3.984 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008106/0.2915, allocations: 0.5508 MB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2915, allocations: 0 / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.804e-05/0.2916, allocations: 27.92 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2916, allocations: 0 / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.2916, allocations: 4 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2916, allocations: 0 / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2916, allocations: 3.938 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.2921, allocations: 295.1 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.076e-05/0.2922, allocations: 100.8 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.2922, allocations: 4 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.2924, allocations: 11.98 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.2924, allocations: 19.97 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.2925, allocations: 8 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002075/0.2927, allocations: 209.9 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2927, allocations: 0 / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002975/0.293, allocations: 51.84 kB / 1.074 GB, free: 4.625 MB / 0.8262 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.001463/0.2945, allocations: 441.8 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004838/0.2949, allocations: 184.7 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.295, allocations: 0 / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.2951, allocations: 78.88 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.2955, allocations: 44.53 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007307/0.2963, allocations: 488 kB / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.2967, allocations: 0.7519 MB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.119e-05/0.2967, allocations: 27.42 kB / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2967, allocations: 0 / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of Templates: time 0.00536/0.3021, allocations: 3.266 MB / 1.079 GB, free: 15.48 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches