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.0009256/0.0009257, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.007539/0.007539, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.626/1.626, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.829/1.829, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0008952/0.0008952, allocations: 20.16 kB / 0.6743 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3135, allocations: 116.3 MB / 0.7879 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001424/0.315, allocations: 0.8837 MB / 0.7888 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003097/0.3181, allocations: 2.342 MB / 0.7911 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.3182, allocations: 0 / 0.7911 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.325e-05/0.3183, allocations: 11.86 kB / 0.7911 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.3186, allocations: 75.39 kB / 0.7911 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003191/0.3218, allocations: 1.325 MB / 0.7924 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001116/0.3229, allocations: 1.049 MB / 0.7935 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.323, allocations: 20.75 kB / 0.7935 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004941/0.3235, allocations: 431.2 kB / 0.7939 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003535/0.3238, allocations: 323 kB / 0.7942 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.324, allocations: 60 kB / 0.7943 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.3242, allocations: 83.97 kB / 0.7943 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.268e-05/0.3242, allocations: 47.83 kB / 0.7944 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003805/0.3246, allocations: 376.7 kB / 0.7947 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008352/0.3255, allocations: 0.9117 MB / 0.7956 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3255, allocations: 0 / 0.7956 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3255, allocations: 0 / 0.7956 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.3255, allocations: 4 kB / 0.7956 GB, free: 3.637 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.001015/0.3265, allocations: 1 MB / 0.7966 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.3266, allocations: 12.03 kB / 0.7966 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.3268, allocations: 68.5 kB / 0.7967 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.327, allocations: 212.5 kB / 0.7969 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/0.327, allocations: 40.36 kB / 0.7969 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.3272, allocations: 68.36 kB / 0.797 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.3275, allocations: 210 kB / 0.7972 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3275, allocations: 192 / 0.7972 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.3275, allocations: 23.91 kB / 0.7972 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3275, allocations: 4 kB / 0.7972 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.75e-05/0.3276, allocations: 63.78 kB / 0.7973 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008507/0.3285, allocations: 0.8522 MB / 0.7981 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.3288, allocations: 319.3 kB / 0.7984 GB, free: 332 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.329, allocations: 144.8 kB / 0.7986 GB, free: 140 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.329, allocations: 4 kB / 0.7986 GB, free: 136 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00054/0.3295, allocations: 474.5 kB / 0.799 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 1.593e-06/0.3295, allocations: 0 / 0.799 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.0009632/0.3305, allocations: 0.5576 MB / 0.7996 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001946/0.3307, allocations: 435.2 kB / 0.8 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.331, allocations: 296.2 kB / 0.8003 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.3311, allocations: 73.69 kB / 0.8003 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.3313, allocations: 169.2 kB / 0.8005 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.555e-05/0.3314, allocations: 90.86 kB / 0.8006 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.3316, allocations: 101.7 kB / 0.8007 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3317, allocations: 350.8 kB / 0.801 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007935/0.3325, allocations: 421.3 kB / 0.8014 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.3337, allocations: 0.7028 MB / 0.8021 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.335, allocations: 1.195 MB / 0.8033 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.813e-05/0.3351, allocations: 4 kB / 0.8033 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002686/0.3378, allocations: 1.721 MB / 0.8049 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003066/0.3381, allocations: 485.4 kB / 0.8054 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.3381, allocations: 12 kB / 0.8054 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/0.3381, allocations: 16.12 kB / 0.8054 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8e-05/0.3382, allocations: 31.86 kB / 0.8055 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.171e-05/0.3383, allocations: 19.92 kB / 0.8055 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/0.341, allocations: 0.5685 MB / 0.806 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.3411, allocations: 95.92 kB / 0.8061 GB, free: 7.613 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.0003963/0.3416, allocations: 214.2 kB / 0.8063 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3417, allocations: 55.39 kB / 0.8064 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.561e-05/0.3417, allocations: 34.14 kB / 0.8064 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.3418, allocations: 12 kB / 0.8064 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.3418, allocations: 4 kB / 0.8064 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.3418, allocations: 4 kB / 0.8064 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.3422, allocations: 329.3 kB / 0.8067 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3422, allocations: 4 kB / 0.8068 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.3422, allocations: 19.92 kB / 0.8068 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-06/0.3423, allocations: 7.938 kB / 0.8068 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.3423, allocations: 31.97 kB / 0.8068 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.3423, allocations: 4 kB / 0.8068 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.3423, allocations: 7.938 kB / 0.8068 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006466/0.343, allocations: 0.508 MB / 0.8073 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.343, allocations: 112.6 kB / 0.8074 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.3431, allocations: 19.98 kB / 0.8074 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.3432, allocations: 19.98 kB / 0.8075 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.376e-05/0.3433, allocations: 59.86 kB / 0.8075 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.3434, allocations: 35.92 kB / 0.8076 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001634/0.3435, allocations: 195 kB / 0.8077 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3435, allocations: 0 / 0.8077 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006471/0.3442, allocations: 204 kB / 0.8079 GB, free: 5.625 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.0002032/0.3444, allocations: 133.9 kB / 0.8081 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002229/0.3466, allocations: 1.745 MB / 0.8098 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3467, allocations: 0 / 0.8098 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.3469, allocations: 179.7 kB / 0.8099 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008511/0.3478, allocations: 126.2 kB / 0.8101 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.349, allocations: 0.6994 MB / 0.8107 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.3494, allocations: 0.7761 MB / 0.8115 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.3496, allocations: 46.95 kB / 0.8115 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/0.3497, allocations: 39.42 kB / 0.8116 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of SimCode: time 1.042e-06/0.3497, allocations: 0 / 0.8116 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of Templates: time 0.0206/0.3703, allocations: 11.36 MB / 0.8227 GB, free: 6.398 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: