Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001324/0.001324, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.532/1.532, allocations: 205.1 MB / 222 MB, free: 4.73 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.673/1.673, allocations: 292.2 MB / 0.5484 GB, free: 13.64 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.001349/0.001349, allocations: 66.2 kB / 0.6708 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2904, allocations: 114.5 MB / 0.7827 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002678/0.2932, allocations: 1.23 MB / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00278/0.296, allocations: 2.358 MB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.61e-05/0.2961, allocations: 4 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.053e-05/0.2962, allocations: 11.81 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.2964, allocations: 71.39 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002895/0.2993, allocations: 1.321 MB / 0.7876 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009198/0.3002, allocations: 1.045 MB / 0.7886 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.48e-05/0.3003, allocations: 24.75 kB / 0.7886 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003934/0.3007, allocations: 419.2 kB / 0.789 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003318/0.301, allocations: 335 kB / 0.7893 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.3012, allocations: 60 kB / 0.7894 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.3014, allocations: 71.98 kB / 0.7895 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.703e-05/0.3015, allocations: 59.81 kB / 0.7895 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000375/0.3019, allocations: 343 kB / 0.7898 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008427/0.3027, allocations: 0.9314 MB / 0.7908 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3027, allocations: 4 kB / 0.7908 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3027, allocations: 0 / 0.7908 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3027, allocations: 0 / 0.7908 GB, free: 5.711 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001392/0.3041, allocations: 1.172 MB / 0.7919 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.3042, allocations: 12.03 kB / 0.7919 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.3044, allocations: 64.64 kB / 0.792 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.3046, allocations: 216.3 kB / 0.7922 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.3047, allocations: 36.36 kB / 0.7922 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.3048, allocations: 72.36 kB / 0.7923 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.3051, allocations: 211 kB / 0.7925 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3051, allocations: 8.062 kB / 0.7925 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.3052, allocations: 11.92 kB / 0.7925 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.3052, allocations: 4 kB / 0.7925 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.3053, allocations: 67.78 kB / 0.7926 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008726/0.3062, allocations: 0.8444 MB / 0.7934 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.3065, allocations: 327.1 kB / 0.7937 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.3067, allocations: 140.9 kB / 0.7938 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.3067, allocations: 7.984 kB / 0.7939 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005499/0.3072, allocations: 466.7 kB / 0.7943 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 1.583e-06/0.3072, allocations: 3.938 kB / 0.7943 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.0009924/0.3082, allocations: 0.558 MB / 0.7948 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002308/0.3085, allocations: 443.2 kB / 0.7953 GB, free: 424 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.3088, allocations: 296.3 kB / 0.7956 GB, free: 120 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000141/0.3089, allocations: 61.7 kB / 0.7956 GB, free: 52 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.3091, allocations: 165.3 kB / 0.7958 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.3093, allocations: 94.84 kB / 0.7959 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004944/0.3098, allocations: 270.1 kB / 0.7961 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3099, allocations: 354.8 kB / 0.7965 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008757/0.3108, allocations: 421.3 kB / 0.7969 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.3119, allocations: 0.7028 MB / 0.7975 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.3133, allocations: 1.195 MB / 0.7987 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.3134, allocations: 4 kB / 0.7987 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002867/0.3162, allocations: 1.713 MB / 0.8004 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003106/0.3166, allocations: 490.3 kB / 0.8009 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.3166, allocations: 12 kB / 0.8009 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.229e-05/0.3166, allocations: 12 kB / 0.8009 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.3167, allocations: 31.86 kB / 0.8009 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/0.3167, allocations: 23.86 kB / 0.8009 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.3191, allocations: 423 kB / 0.8013 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.3193, allocations: 95.92 kB / 0.8014 GB, free: 9.512 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0003144/0.3196, allocations: 217.6 kB / 0.8016 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.793e-05/0.3197, allocations: 43.47 kB / 0.8017 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.897e-05/0.3198, allocations: 38.14 kB / 0.8017 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.3198, allocations: 12 kB / 0.8017 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/0.3198, allocations: 7.984 kB / 0.8017 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.3198, allocations: 7.984 kB / 0.8017 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.3202, allocations: 329.4 kB / 0.8021 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3202, allocations: 4 kB / 0.8021 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.3203, allocations: 15.92 kB / 0.8021 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.3203, allocations: 11.94 kB / 0.8021 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.3203, allocations: 23.92 kB / 0.8021 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.3203, allocations: 7.938 kB / 0.8021 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.3203, allocations: 4 kB / 0.8021 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000632/0.321, allocations: 0.5196 MB / 0.8026 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.565e-05/0.3211, allocations: 120.6 kB / 0.8027 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.495e-05/0.3212, allocations: 15.98 kB / 0.8028 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3213, allocations: 11.98 kB / 0.8028 GB, free: 8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.3214, allocations: 63.81 kB / 0.8028 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/0.3215, allocations: 31.98 kB / 0.8029 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002097/0.3217, allocations: 187.1 kB / 0.803 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3217, allocations: 4 kB / 0.803 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006515/0.3223, allocations: 196 kB / 0.8032 GB, free: 7.531 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0002989/0.3226, allocations: 147 kB / 0.8034 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002224/0.3249, allocations: 1.743 MB / 0.8051 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.3249, allocations: 8 kB / 0.8051 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.3252, allocations: 185 kB / 0.8053 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.3259, allocations: 109 kB / 0.8054 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3271, allocations: 0.6995 MB / 0.806 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.3275, allocations: 0.78 MB / 0.8068 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001227/0.3277, allocations: 42.92 kB / 0.8068 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.3277, allocations: 39.42 kB / 0.8069 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of SimCode: time 2.71e-07/0.3278, allocations: 0 / 0.8069 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.019/0.3468, allocations: 11.36 MB / 0.818 GB, free: 8.297 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)