Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001611/0.00161, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 196.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.903/1.903, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 72.98 kB / 0.6715 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2879, allocations: 114.6 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004714/0.2927, allocations: 1.913 MB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002258/0.295, allocations: 1.042 MB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.2952, allocations: 3.938 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.2956, allocations: 91.64 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.2959, allocations: 95.56 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.2963, allocations: 143.5 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.2966, allocations: 215.4 kB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.2968, allocations: 45.66 kB / 0.7868 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.297, allocations: 99.61 kB / 0.7869 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.2971, allocations: 99.59 kB / 0.787 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.2972, allocations: 16 kB / 0.787 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.2973, allocations: 63.89 kB / 0.7871 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.271e-05/0.2974, allocations: 51.83 kB / 0.7872 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.2975, allocations: 99.39 kB / 0.7872 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.2979, allocations: 251.5 kB / 0.7875 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2979, allocations: 3.984 kB / 0.7875 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.624e-06/0.2979, allocations: 4 kB / 0.7875 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.2979, allocations: 4 kB / 0.7875 GB, free: 9.219 MB / 0.6075 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.001005/0.2989, allocations: 0.5451 MB / 0.788 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.299, allocations: 8.031 kB / 0.788 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/0.299, allocations: 24.66 kB / 0.7881 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.2994, allocations: 280.1 kB / 0.7883 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.2994, allocations: 11.94 kB / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.2995, allocations: 16 kB / 0.7884 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.2998, allocations: 125.5 kB / 0.7885 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2998, allocations: 3.938 kB / 0.7885 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.2998, allocations: 0 / 0.7885 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2998, allocations: 0 / 0.7885 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.3001, allocations: 91.86 kB / 0.7886 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007273/0.3009, allocations: 464.5 kB / 0.789 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.3012, allocations: 126.6 kB / 0.7891 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.3014, allocations: 60.81 kB / 0.7892 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.3014, allocations: 0 / 0.7892 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002971/0.3017, allocations: 127.3 kB / 0.7893 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.3017, allocations: 0 / 0.7893 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0007155/0.3025, allocations: 249.2 kB / 0.7895 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.3025, allocations: 59.34 kB / 0.7896 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.3029, allocations: 326.5 kB / 0.7899 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.3029, allocations: 33.7 kB / 0.7899 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.3031, allocations: 136.5 kB / 0.7901 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/0.3031, allocations: 47.44 kB / 0.7901 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.095e-05/0.3032, allocations: 57.69 kB / 0.7902 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3034, allocations: 338.8 kB / 0.7905 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.3036, allocations: 83.95 kB / 0.7906 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.3039, allocations: 137.9 kB / 0.7907 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.3043, allocations: 197.1 kB / 0.7909 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3043, allocations: 4 kB / 0.7909 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000578/0.3049, allocations: 289.1 kB / 0.7912 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3049, allocations: 7.938 kB / 0.7912 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3049, allocations: 0 / 0.7912 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.3049, allocations: 4 kB / 0.7912 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.3051, allocations: 43.91 kB / 0.7912 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.3052, allocations: 8.188 kB / 0.7912 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.3053, allocations: 19.89 kB / 0.7913 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.3054, allocations: 15.94 kB / 0.7913 GB, free: 5.078 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.cha.y,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 (31): * Single equations (assignments): 31 * 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.0002046/0.3056, allocations: 167 kB / 0.7914 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.3056, allocations: 27.66 kB / 0.7915 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.761e-05/0.3057, allocations: 22.19 kB / 0.7915 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3057, allocations: 3.984 kB / 0.7915 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3057, allocations: 8 kB / 0.7915 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3057, allocations: 0 / 0.7915 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008507/0.3066, allocations: 0.5478 MB / 0.792 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3066, allocations: 0 / 0.792 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.568e-05/0.3067, allocations: 15.98 kB / 0.792 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.3067, allocations: 4 kB / 0.792 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3067, allocations: 4 kB / 0.7921 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.3067, allocations: 7.938 kB / 0.7921 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3067, allocations: 3.984 kB / 0.7921 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.3073, allocations: 299 kB / 0.7923 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/0.3074, allocations: 96.83 kB / 0.7924 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.3074, allocations: 8 kB / 0.7924 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.3076, allocations: 19.97 kB / 0.7925 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.3076, allocations: 11.98 kB / 0.7925 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.3077, allocations: 8 kB / 0.7925 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002354/0.3079, allocations: 209.9 kB / 0.7927 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3079, allocations: 0 / 0.7927 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003327/0.3082, allocations: 48 kB / 0.7927 GB, free: 3.488 MB / 0.6075 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.001091/0.3093, allocations: 420.1 kB / 0.7931 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005357/0.3099, allocations: 195.5 kB / 0.7933 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3099, allocations: 3.938 kB / 0.7933 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.3101, allocations: 71.95 kB / 0.7934 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.3105, allocations: 49.89 kB / 0.7934 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007732/0.3113, allocations: 420.1 kB / 0.7938 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.3117, allocations: 0.7557 MB / 0.7946 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.3118, allocations: 33.92 kB / 0.7946 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.3119, allocations: 27.44 kB / 0.7946 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.3119, allocations: 0 / 0.7946 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of Templates: time 0.006997/0.3189, allocations: 3.031 MB / 0.7976 GB, free: 14.63 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)