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.0008227/0.0008231, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009838/0.000984, allocations: 172.7 kB / 15.95 MB, free: 208 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.391/1.391, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.6/1.6, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005176/0.0005178, allocations: 16.25 kB / 0.6737 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2376, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001441/0.2391, allocations: 0.8414 MB / 0.7881 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002546/0.2417, allocations: 2.155 MB / 0.7902 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.039e-05/0.2418, allocations: 4 kB / 0.7902 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.2418, allocations: 11.86 kB / 0.7902 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.242, allocations: 71.39 kB / 0.7903 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.2447, allocations: 1.281 MB / 0.7916 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008511/0.2456, allocations: 0.9277 MB / 0.7925 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.209e-05/0.2456, allocations: 20.73 kB / 0.7925 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004167/0.2461, allocations: 427.2 kB / 0.7929 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003321/0.2464, allocations: 323.1 kB / 0.7932 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.2465, allocations: 60 kB / 0.7933 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.2467, allocations: 75.98 kB / 0.7933 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.2468, allocations: 47.81 kB / 0.7934 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.2469, allocations: 125.6 kB / 0.7935 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005576/0.2475, allocations: 0.6664 MB / 0.7942 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2475, allocations: 0 / 0.7942 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2475, allocations: 0 / 0.7942 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2475, allocations: 4 kB / 0.7942 GB, free: 4.922 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.0009809/0.2485, allocations: 1.008 MB / 0.7951 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2485, allocations: 8.031 kB / 0.7952 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.2487, allocations: 63.62 kB / 0.7952 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.2489, allocations: 211.2 kB / 0.7954 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.094e-05/0.2489, allocations: 43.98 kB / 0.7955 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.2491, allocations: 63.98 kB / 0.7955 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.2494, allocations: 205.1 kB / 0.7957 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.2494, allocations: 7.922 kB / 0.7957 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.2494, allocations: 8 kB / 0.7957 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.2494, allocations: 8 kB / 0.7957 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.2495, allocations: 63.78 kB / 0.7958 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000856/0.2504, allocations: 0.856 MB / 0.7966 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.2507, allocations: 319.3 kB / 0.7969 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.2508, allocations: 144.8 kB / 0.7971 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.2509, allocations: 8 kB / 0.7971 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005316/0.2514, allocations: 470.7 kB / 0.7975 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 1.724e-06/0.2514, allocations: 0 / 0.7975 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.0008815/0.2523, allocations: 0.5575 MB / 0.7981 GB, free: 340 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001918/0.2525, allocations: 435.2 kB / 0.7985 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.2528, allocations: 292.4 kB / 0.7988 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.2529, allocations: 65.7 kB / 0.7988 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.253, allocations: 169.2 kB / 0.799 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/0.2531, allocations: 82.95 kB / 0.7991 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.2532, allocations: 43.98 kB / 0.7991 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2534, allocations: 350.8 kB / 0.7994 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007603/0.2542, allocations: 425.2 kB / 0.7999 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009391/0.2551, allocations: 0.6989 MB / 0.8005 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000921/0.256, allocations: 0.822 MB / 0.8013 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.2561, allocations: 4 kB / 0.8013 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002445/0.2585, allocations: 1.716 MB / 0.803 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002623/0.2588, allocations: 478.7 kB / 0.8035 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/0.2588, allocations: 12 kB / 0.8035 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.2588, allocations: 12 kB / 0.8035 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.2589, allocations: 35.86 kB / 0.8035 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.2589, allocations: 23.92 kB / 0.8036 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/0.2611, allocations: 0.5601 MB / 0.8041 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/0.2613, allocations: 99.91 kB / 0.8042 GB, free: 9.508 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 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002603/0.2616, allocations: 226.1 kB / 0.8044 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.029e-05/0.2616, allocations: 39.53 kB / 0.8045 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.289e-05/0.2617, allocations: 42.14 kB / 0.8045 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.2617, allocations: 8 kB / 0.8045 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.2617, allocations: 7.984 kB / 0.8045 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2617, allocations: 4 kB / 0.8045 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.2621, allocations: 337.3 kB / 0.8048 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.2621, allocations: 0 / 0.8048 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.2621, allocations: 19.92 kB / 0.8049 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.2621, allocations: 8 kB / 0.8049 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.2622, allocations: 19.98 kB / 0.8049 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.2622, allocations: 15.92 kB / 0.8049 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2622, allocations: 7.938 kB / 0.8049 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000572/0.2628, allocations: 0.512 MB / 0.8054 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.2628, allocations: 108.7 kB / 0.8055 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.2629, allocations: 15.98 kB / 0.8055 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.263, allocations: 19.98 kB / 0.8055 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-05/0.2631, allocations: 59.83 kB / 0.8056 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.2631, allocations: 31.98 kB / 0.8056 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001366/0.2633, allocations: 187.1 kB / 0.8058 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2633, allocations: 3.938 kB / 0.8058 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005966/0.2639, allocations: 192 kB / 0.806 GB, free: 7.535 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 (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.0001776/0.2641, allocations: 139.1 kB / 0.8061 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001766/0.2658, allocations: 1.75 MB / 0.8078 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2658, allocations: 0 / 0.8078 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.2661, allocations: 187.8 kB / 0.808 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005952/0.2667, allocations: 116.7 kB / 0.8081 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008846/0.2676, allocations: 0.694 MB / 0.8088 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.2679, allocations: 0.7761 MB / 0.8096 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000106/0.268, allocations: 48.17 kB / 0.8096 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.176e-05/0.2681, allocations: 35.42 kB / 0.8096 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of SimCode: time 4.51e-07/0.2681, allocations: 0 / 0.8096 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of Templates: time 0.01571/0.2838, allocations: 10.87 MB / 0.8203 GB, free: 8.805 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: