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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 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: 198.2 kB / 16.64 MB, free: 6.453 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.383/1.383, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.668/1.668, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001406/0.001406, allocations: 73.09 kB / 0.6718 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2188, allocations: 114.5 MB / 0.7837 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002516/0.2214, allocations: 1.184 MB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002529/0.224, allocations: 2.167 MB / 0.7869 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.575e-05/0.2241, allocations: 4 kB / 0.7869 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.087e-05/0.2242, allocations: 19.69 kB / 0.787 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.2244, allocations: 91.19 kB / 0.787 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.2272, allocations: 1.392 MB / 0.7884 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001261/0.2285, allocations: 1.295 MB / 0.7897 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.774e-05/0.2286, allocations: 24.73 kB / 0.7897 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004693/0.2291, allocations: 475.2 kB / 0.7901 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000535/0.2296, allocations: 446.8 kB / 0.7906 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.2298, allocations: 104 kB / 0.7907 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.23, allocations: 120 kB / 0.7908 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.423e-05/0.23, allocations: 63.75 kB / 0.7908 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003915/0.2304, allocations: 391 kB / 0.7912 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008876/0.2313, allocations: 0.9626 MB / 0.7922 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2314, allocations: 0 / 0.7922 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2314, allocations: 0 / 0.7922 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.2314, allocations: 0 / 0.7922 GB, free: 4.551 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.001224/0.2326, allocations: 1.179 MB / 0.7933 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2327, allocations: 12.03 kB / 0.7933 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.754e-05/0.2327, allocations: 42.67 kB / 0.7934 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.2329, allocations: 64.56 kB / 0.7934 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.233, allocations: 220.5 kB / 0.7936 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.607e-05/0.2331, allocations: 40.36 kB / 0.7937 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.2332, allocations: 64.36 kB / 0.7937 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.2335, allocations: 214.1 kB / 0.7939 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2335, allocations: 7.938 kB / 0.7939 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.2336, allocations: 4 kB / 0.794 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2336, allocations: 0 / 0.794 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.2337, allocations: 79.7 kB / 0.794 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008288/0.2345, allocations: 0.8444 MB / 0.7949 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.2348, allocations: 331.3 kB / 0.7952 GB, free: 1 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.235, allocations: 136.8 kB / 0.7953 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.235, allocations: 11.94 kB / 0.7953 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005573/0.2356, allocations: 466.7 kB / 0.7958 GB, free: 292 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 3.506e-06/0.2356, allocations: 4 kB / 0.7958 GB, free: 288 kB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.0009638/0.2365, allocations: 0.5579 MB / 0.7963 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002015/0.2368, allocations: 439.1 kB / 0.7967 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.237, allocations: 296.3 kB / 0.797 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.2371, allocations: 65.7 kB / 0.7971 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.2373, allocations: 161.3 kB / 0.7972 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.758e-05/0.2374, allocations: 98.84 kB / 0.7973 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000448/0.2379, allocations: 278.1 kB / 0.7976 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.238, allocations: 346.8 kB / 0.7979 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008/0.2388, allocations: 425.3 kB / 0.7983 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00096/0.2398, allocations: 0.6989 MB / 0.799 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.241, allocations: 1.21 MB / 0.8002 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.241, allocations: 0 / 0.8002 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002558/0.2436, allocations: 1.716 MB / 0.8019 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002636/0.2439, allocations: 485.4 kB / 0.8023 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.2439, allocations: 9.156 kB / 0.8023 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.2439, allocations: 12 kB / 0.8023 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/0.244, allocations: 31.86 kB / 0.8024 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.244, allocations: 19.94 kB / 0.8024 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/0.2462, allocations: 407 kB / 0.8028 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/0.2464, allocations: 95.92 kB / 0.8029 GB, free: 8.293 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.0003244/0.2467, allocations: 221.5 kB / 0.8031 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-05/0.2468, allocations: 47.47 kB / 0.8031 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.333e-05/0.2468, allocations: 34.14 kB / 0.8032 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.2469, allocations: 11.98 kB / 0.8032 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.2469, allocations: 4 kB / 0.8032 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.2469, allocations: 4 kB / 0.8032 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/0.2472, allocations: 333.4 kB / 0.8035 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.2473, allocations: 4 kB / 0.8035 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.2473, allocations: 23.86 kB / 0.8035 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.2473, allocations: 8 kB / 0.8035 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.2473, allocations: 19.98 kB / 0.8036 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.707e-06/0.2474, allocations: 11.98 kB / 0.8036 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.2474, allocations: 7.938 kB / 0.8036 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006358/0.248, allocations: 0.5158 MB / 0.8041 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.2481, allocations: 112.6 kB / 0.8042 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.2481, allocations: 19.92 kB / 0.8042 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.2483, allocations: 15.98 kB / 0.8042 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.951e-05/0.2484, allocations: 63.81 kB / 0.8043 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.2484, allocations: 27.98 kB / 0.8043 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001674/0.2486, allocations: 191.1 kB / 0.8045 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2486, allocations: 0 / 0.8045 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006106/0.2492, allocations: 200 kB / 0.8047 GB, free: 6.309 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.001038/0.2502, allocations: 1.077 MB / 0.8057 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002003/0.2523, allocations: 1.758 MB / 0.8074 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2523, allocations: 0 / 0.8074 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.2525, allocations: 188.7 kB / 0.8076 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/0.2532, allocations: 129.3 kB / 0.8077 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008501/0.2617, allocations: 6.449 MB / 0.814 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.2621, allocations: 0.7761 MB / 0.8148 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000163/0.2623, allocations: 38.98 kB / 0.8148 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.2624, allocations: 107.4 kB / 0.8149 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of SimCode: time 6.91e-07/0.2624, allocations: 0 / 0.8149 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03512/0.2976, allocations: 14.8 MB / 0.8294 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/8.521, allocations: 8.109 kB / 0.8294 GB, free: 12.44 MB / 0.6544 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)