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.001516/0.001516, allocations: 105.5 kB / 16.29 MB, free: 6.086 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.001604/0.001604, allocations: 182.3 kB / 17.22 MB, free: 5.695 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.668/1.668, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.034/2.034, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.002768/0.002769, allocations: 67.88 kB / 0.6722 GB, free: 6.445 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3264, allocations: 114.6 MB / 0.7841 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.003054/0.3295, allocations: 1.172 MB / 0.7852 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003133/0.3327, allocations: 2.178 MB / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.3329, allocations: 4 kB / 0.7874 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.187e-05/0.3331, allocations: 19.69 kB / 0.7874 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.3334, allocations: 83.25 kB / 0.7875 GB, free: 304 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.5413/0.8747, allocations: 1.386 MB / 0.7888 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002173/0.8769, allocations: 1.292 MB / 0.7901 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.8771, allocations: 24.67 kB / 0.7901 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008448/0.8779, allocations: 476.8 kB / 0.7906 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007561/0.8787, allocations: 440.1 kB / 0.791 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002637/0.879, allocations: 111.1 kB / 0.7911 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003351/0.8793, allocations: 118.6 kB / 0.7912 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.289e-05/0.8794, allocations: 59.67 kB / 0.7913 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005293/0.8799, allocations: 393.3 kB / 0.7916 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.8811, allocations: 0.9637 MB / 0.7926 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.8811, allocations: 3.062 kB / 0.7926 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8811, allocations: 1.25 kB / 0.7926 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.8811, allocations: 0 / 0.7926 GB, free: 45.83 MB / 0.6544 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.001136/0.8823, allocations: 1.169 MB / 0.7937 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.8823, allocations: 10.25 kB / 0.7937 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.8825, allocations: 69.62 kB / 0.7938 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.8827, allocations: 215 kB / 0.794 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.755e-05/0.8827, allocations: 37.8 kB / 0.794 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/0.883, allocations: 67.92 kB / 0.7941 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.8833, allocations: 219.4 kB / 0.7943 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.8833, allocations: 3.094 kB / 0.7943 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.8834, allocations: 11.75 kB / 0.7943 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.8834, allocations: 7.406 kB / 0.7943 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.8835, allocations: 68.09 kB / 0.7944 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.8847, allocations: 0.8498 MB / 0.7952 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.885, allocations: 322.6 kB / 0.7955 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.8852, allocations: 136.5 kB / 0.7957 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.8852, allocations: 9.75 kB / 0.7957 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008257/0.8861, allocations: 458 kB / 0.7961 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 4.678e-06/0.8861, allocations: 2.906 kB / 0.7961 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.001362/0.8874, allocations: 0.5633 MB / 0.7967 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/0.8876, allocations: 438.3 kB / 0.7971 GB, free: 43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.888, allocations: 304.5 kB / 0.7974 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/0.8881, allocations: 65.86 kB / 0.7974 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.8884, allocations: 161 kB / 0.7976 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.8885, allocations: 92.67 kB / 0.7977 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007243/0.8893, allocations: 276.1 kB / 0.7979 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.8894, allocations: 351.8 kB / 0.7983 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.8907, allocations: 422 kB / 0.7987 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.8921, allocations: 0.7074 MB / 0.7994 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.8939, allocations: 1.19 MB / 0.8005 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.8939, allocations: 7.75 kB / 0.8005 GB, free: 41.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004939/0.8989, allocations: 1.715 MB / 0.8022 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003149/0.8992, allocations: 486.1 kB / 0.8027 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.212e-05/0.8993, allocations: 11.03 kB / 0.8027 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.316e-05/0.8993, allocations: 12.91 kB / 0.8027 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.8995, allocations: 29.92 kB / 0.8027 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.956e-05/0.8995, allocations: 22.09 kB / 0.8028 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/0.9029, allocations: 410.2 kB / 0.8031 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003293/0.9033, allocations: 96.88 kB / 0.8032 GB, free: 39.67 MB / 0.6544 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.0006028/0.9039, allocations: 213.7 kB / 0.8034 GB, free: 39.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.9041, allocations: 50.28 kB / 0.8035 GB, free: 39.49 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.9043, allocations: 40.84 kB / 0.8035 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.272e-05/0.9043, allocations: 8.484 kB / 0.8035 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.999e-05/0.9044, allocations: 4.406 kB / 0.8035 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.9044, allocations: 6.469 kB / 0.8035 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006132/0.905, allocations: 328.8 kB / 0.8039 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/0.905, allocations: 7.812 kB / 0.8039 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.465e-05/0.9051, allocations: 23.98 kB / 0.8039 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/0.9052, allocations: 9.312 kB / 0.8039 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.256e-05/0.9053, allocations: 18.5 kB / 0.8039 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-05/0.9053, allocations: 11.38 kB / 0.8039 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.9053, allocations: 7.75 kB / 0.8039 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.9065, allocations: 0.5116 MB / 0.8044 GB, free: 38.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.9066, allocations: 119.1 kB / 0.8046 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-05/0.9067, allocations: 15.47 kB / 0.8046 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.9069, allocations: 24.22 kB / 0.8046 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.9071, allocations: 60.55 kB / 0.8046 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.584e-05/0.9072, allocations: 27.89 kB / 0.8047 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002846/0.9075, allocations: 188.7 kB / 0.8049 GB, free: 38.64 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9075, allocations: 0 / 0.8049 GB, free: 38.64 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001421/0.9089, allocations: 200.9 kB / 0.805 GB, free: 38.63 MB / 0.6544 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.0002857/0.9092, allocations: 132.3 kB / 0.8052 GB, free: 38.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003187/0.9124, allocations: 1.752 MB / 0.8069 GB, free: 37.26 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.9124, allocations: 0.7188 kB / 0.8069 GB, free: 37.26 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004722/0.9129, allocations: 186.9 kB / 0.8071 GB, free: 37.22 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.9141, allocations: 127.3 kB / 0.8072 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.9157, allocations: 0.6309 MB / 0.8078 GB, free: 36.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.9161, allocations: 0.7783 MB / 0.8086 GB, free: 36.07 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002359/0.9164, allocations: 43.55 kB / 0.8086 GB, free: 36.06 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.9165, allocations: 33.22 kB / 0.8086 GB, free: 36.05 MB / 0.6544 GB Notification: Performance of SimCode: time 1.002e-06/0.9165, allocations: 0 / 0.8086 GB, free: 36.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.03612/0.9526, allocations: 11.96 MB / 0.8203 GB, free: 35.3 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)