Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009151/0.0009149, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0009709/0.0009709, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.669/1.669, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005798/0.0005799, allocations: 21.62 kB / 0.6736 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2865, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00122/0.2878, allocations: 0.6545 MB / 0.7878 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.2894, allocations: 1.34 MB / 0.7891 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.2895, allocations: 4 kB / 0.7891 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.2896, allocations: 11.86 kB / 0.7891 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.2897, allocations: 47.84 kB / 0.7891 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008804/0.2906, allocations: 378.2 kB / 0.7895 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.2908, allocations: 235.7 kB / 0.7897 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.291, allocations: 37.83 kB / 0.7898 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.2912, allocations: 143.6 kB / 0.7899 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.2914, allocations: 115.5 kB / 0.79 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.336e-05/0.2914, allocations: 20 kB / 0.79 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.846e-05/0.2915, allocations: 35.98 kB / 0.7901 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.2916, allocations: 27.84 kB / 0.7901 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.2917, allocations: 65.64 kB / 0.7902 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.292, allocations: 375.3 kB / 0.7905 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.292, allocations: 0 / 0.7905 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.442e-06/0.292, allocations: 0 / 0.7905 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.292, allocations: 3.938 kB / 0.7905 GB, free: 8.48 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006895/0.2927, allocations: 0.5638 MB / 0.7911 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2928, allocations: 12.03 kB / 0.7911 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.99e-05/0.2929, allocations: 35.67 kB / 0.7911 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.2931, allocations: 225.7 kB / 0.7913 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/0.2932, allocations: 16 kB / 0.7913 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.643e-05/0.2932, allocations: 23.98 kB / 0.7914 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.2934, allocations: 113.1 kB / 0.7915 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2934, allocations: 3.938 kB / 0.7915 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.2935, allocations: 7.984 kB / 0.7915 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2935, allocations: 4 kB / 0.7915 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.2936, allocations: 51.98 kB / 0.7915 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.2946, allocations: 0.8795 MB / 0.7924 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.2948, allocations: 114.4 kB / 0.7925 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.2948, allocations: 8 kB / 0.7925 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003055/0.2951, allocations: 174.6 kB / 0.7927 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.2951, allocations: 0 / 0.7927 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0004707/0.2956, allocations: 229.3 kB / 0.7929 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.2957, allocations: 132.5 kB / 0.793 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.296, allocations: 240.9 kB / 0.7933 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/0.296, allocations: 37.69 kB / 0.7933 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.2962, allocations: 128.4 kB / 0.7934 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.2962, allocations: 35.69 kB / 0.7935 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.2963, allocations: 8 kB / 0.7935 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.2964, allocations: 334.8 kB / 0.7938 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.2967, allocations: 144.2 kB / 0.7939 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.2971, allocations: 226.6 kB / 0.7941 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.2974, allocations: 258.8 kB / 0.7944 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2974, allocations: 0 / 0.7944 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008657/0.2983, allocations: 0.5547 MB / 0.7949 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.239e-05/0.2984, allocations: 138.8 kB / 0.7951 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.2984, allocations: 4 kB / 0.7951 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2984, allocations: 4 kB / 0.7951 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.341e-05/0.2985, allocations: 11.94 kB / 0.7951 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.2985, allocations: 4 kB / 0.7951 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000706/0.2992, allocations: 162.5 kB / 0.7952 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.165e-05/0.2993, allocations: 27.97 kB / 0.7953 GB, free: 3.188 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000174/0.2995, allocations: 153.7 kB / 0.7954 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.2995, allocations: 28.61 kB / 0.7954 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.874e-05/0.2996, allocations: 25.23 kB / 0.7955 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2996, allocations: 0 / 0.7955 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.2996, allocations: 4 kB / 0.7955 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2996, allocations: 0 / 0.7955 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.2999, allocations: 257.5 kB / 0.7957 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2999, allocations: 0 / 0.7957 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.2999, allocations: 15.92 kB / 0.7957 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.657e-05/0.2999, allocations: 3.953 kB / 0.7957 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.2999, allocations: 4 kB / 0.7957 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3, allocations: 4 kB / 0.7957 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3, allocations: 4 kB / 0.7957 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.3003, allocations: 259.4 kB / 0.796 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.3003, allocations: 104.9 kB / 0.7961 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.3004, allocations: 4 kB / 0.7961 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.885e-05/0.3004, allocations: 8 kB / 0.7961 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.3005, allocations: 11.97 kB / 0.7961 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.3005, allocations: 12 kB / 0.7961 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001282/0.3006, allocations: 164.5 kB / 0.7963 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3007, allocations: 0 / 0.7963 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003145/0.301, allocations: 71.86 kB / 0.7963 GB, free: 1.953 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001671/0.3011, allocations: 119.3 kB / 0.7965 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006845/0.3018, allocations: 0.5287 MB / 0.797 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3019, allocations: 0 / 0.797 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.838e-05/0.302, allocations: 67.91 kB / 0.797 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.3023, allocations: 60.81 kB / 0.7971 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005958/0.3029, allocations: 383.4 kB / 0.7975 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.3034, allocations: 0.7323 MB / 0.7982 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.474e-05/0.3034, allocations: 21.55 kB / 0.7982 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.3035, allocations: 15.44 kB / 0.7982 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of SimCode: time 2.7e-07/0.3035, allocations: 0 / 0.7982 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of Templates: time 0.00722/0.3107, allocations: 4.17 MB / 0.8023 GB, free: 11.82 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) Environment - environmentSimulation: