Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.002002/0.002002, allocations: 108.8 kB / 16.37 MB, free: 6.48 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.002065/0.002065, allocations: 193.1 kB / 17.31 MB, free: 5.82 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.5/1.5, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.515/2.515, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 60.28 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2924, allocations: 151.6 MB / 1.019 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003646/0.2961, allocations: 1.934 MB / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.298, allocations: 1.115 MB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.2982, allocations: 4 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003819/0.2986, allocations: 99.56 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.2989, allocations: 99.52 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.2994, allocations: 166.6 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.2996, allocations: 211.4 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.2998, allocations: 53.64 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.2999, allocations: 91.67 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.3001, allocations: 107.5 kB / 1.023 GB, free: 5.941 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.3001, allocations: 16 kB / 1.023 GB, free: 5.926 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.3002, allocations: 51.98 kB / 1.023 GB, free: 5.875 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.446e-05/0.3003, allocations: 59.75 kB / 1.023 GB, free: 5.816 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.81e-05/0.3004, allocations: 87.47 kB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.3008, allocations: 271 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3008, allocations: 0 / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3008, allocations: 4 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3008, allocations: 0 / 1.023 GB, free: 5.461 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008509/0.3017, allocations: 0.5375 MB / 1.024 GB, free: 4.875 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3017, allocations: 12.92 kB / 1.024 GB, free: 4.863 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.3018, allocations: 24.66 kB / 1.024 GB, free: 4.84 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.3022, allocations: 291.3 kB / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.3022, allocations: 12 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.3022, allocations: 8 kB / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.3025, allocations: 118.9 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3025, allocations: 0 / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.3026, allocations: 7.938 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.3026, allocations: 4 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.3028, allocations: 83.86 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006864/0.3035, allocations: 456.5 kB / 1.025 GB, free: 3.789 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.3039, allocations: 130.5 kB / 1.025 GB, free: 3.652 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.304, allocations: 56.81 kB / 1.025 GB, free: 3.594 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.3041, allocations: 4 kB / 1.025 GB, free: 3.59 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.3044, allocations: 123.2 kB / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.3044, allocations: 0 / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.0006208/0.305, allocations: 255 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.3051, allocations: 59.39 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.3054, allocations: 330.6 kB / 1.025 GB, free: 2.801 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.3054, allocations: 29.7 kB / 1.025 GB, free: 2.766 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.313e-05/0.3055, allocations: 140.3 kB / 1.026 GB, free: 2.625 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.3056, allocations: 39.55 kB / 1.026 GB, free: 2.586 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.719e-05/0.3057, allocations: 53.61 kB / 1.026 GB, free: 2.527 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3058, allocations: 338.8 kB / 1.026 GB, free: 2.188 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.306, allocations: 91.94 kB / 1.026 GB, free: 2.098 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.3062, allocations: 134 kB / 1.026 GB, free: 1.949 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.3066, allocations: 186.7 kB / 1.026 GB, free: 1.75 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.3066, allocations: 3.938 kB / 1.026 GB, free: 1.746 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005434/0.3071, allocations: 283.9 kB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3072, allocations: 8 kB / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3072, allocations: 3.984 kB / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3072, allocations: 4 kB / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.3074, allocations: 39.91 kB / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3074, allocations: 4 kB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.3076, allocations: 15.98 kB / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.3076, allocations: 19.92 kB / 1.027 GB, free: 1.371 MB / 0.795 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.0001377/0.3078, allocations: 161.8 kB / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.3078, allocations: 27.66 kB / 1.027 GB, free: 1.176 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.307e-05/0.3079, allocations: 26.17 kB / 1.027 GB, free: 1.152 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3079, allocations: 0 / 1.027 GB, free: 1.152 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3079, allocations: 4 kB / 1.027 GB, free: 1.148 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3079, allocations: 0 / 1.027 GB, free: 1.148 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007719/0.3087, allocations: 0.5547 MB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3087, allocations: 0 / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.738e-05/0.3088, allocations: 15.98 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3088, allocations: 4 kB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.3088, allocations: 7.984 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3088, allocations: 0 / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3088, allocations: 0 / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004693/0.3093, allocations: 295.1 kB / 1.028 GB, free: 212 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.585e-05/0.3094, allocations: 104.8 kB / 1.028 GB, free: 88 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.3094, allocations: 7.984 kB / 1.028 GB, free: 80 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.3096, allocations: 15.98 kB / 1.028 GB, free: 64 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.3097, allocations: 11.98 kB / 1.028 GB, free: 52 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3097, allocations: 11.98 kB / 1.028 GB, free: 40 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002138/0.3099, allocations: 206 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3099, allocations: 0 / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003423/0.3103, allocations: 55.92 kB / 1.028 GB, free: 15.78 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: 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.0009981/0.3113, allocations: 421.4 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004671/0.3118, allocations: 183.7 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3118, allocations: 320 / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.312, allocations: 79.89 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.3124, allocations: 48.59 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007406/0.3131, allocations: 398.1 kB / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.3135, allocations: 0.7519 MB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.453e-05/0.3136, allocations: 29.94 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.876e-05/0.3136, allocations: 27.44 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.3136, allocations: 0 / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of Templates: time 0.007101/0.3208, allocations: 3.026 MB / 1.033 GB, free: 10.96 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches