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.001556/0.001556, allocations: 109.4 kB / 15.69 MB, free: 128 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.002156/0.002156, allocations: 187 kB / 16.62 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.662/1.662, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.785/1.785, 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.001419/0.00142, allocations: 66.45 kB / 0.6718 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2799, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002504/0.2824, allocations: 1.187 MB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002787/0.2852, allocations: 2.163 MB / 0.7869 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.2854, allocations: 4 kB / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.384e-05/0.2854, allocations: 23.69 kB / 0.7869 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.2856, allocations: 87.19 kB / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002932/0.2886, allocations: 1.395 MB / 0.7884 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.29, allocations: 1.295 MB / 0.7897 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.762e-05/0.2901, allocations: 20.75 kB / 0.7897 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005814/0.2907, allocations: 483.2 kB / 0.7901 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006018/0.2913, allocations: 442.8 kB / 0.7906 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.2915, allocations: 104 kB / 0.7907 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.2917, allocations: 120 kB / 0.7908 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.2917, allocations: 55.83 kB / 0.7908 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004462/0.2922, allocations: 395 kB / 0.7912 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008677/0.2931, allocations: 0.9626 MB / 0.7921 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2931, allocations: 0 / 0.7921 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2931, allocations: 0 / 0.7921 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.2931, allocations: 0 / 0.7921 GB, free: 4.543 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.00136/0.2945, allocations: 1.179 MB / 0.7933 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.2945, allocations: 8.031 kB / 0.7933 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.213e-05/0.2946, allocations: 46.67 kB / 0.7933 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.2948, allocations: 68.55 kB / 0.7934 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.295, allocations: 216.5 kB / 0.7936 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.024e-05/0.295, allocations: 40.3 kB / 0.7937 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.2952, allocations: 72.36 kB / 0.7937 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.2955, allocations: 209.7 kB / 0.7939 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.2955, allocations: 3.938 kB / 0.7939 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.2955, allocations: 11.98 kB / 0.7939 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2955, allocations: 0 / 0.7939 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.2956, allocations: 71.78 kB / 0.794 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008439/0.2965, allocations: 0.8483 MB / 0.7948 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.2968, allocations: 323.3 kB / 0.7951 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.297, allocations: 148.8 kB / 0.7953 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.297, allocations: 7.938 kB / 0.7953 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006552/0.2976, allocations: 462.7 kB / 0.7957 GB, free: 284 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 2.024e-06/0.2977, allocations: 0 / 0.7957 GB, free: 284 kB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.0009779/0.2986, allocations: 0.5615 MB / 0.7963 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001987/0.2989, allocations: 439.1 kB / 0.7967 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.2991, allocations: 292.3 kB / 0.797 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.2992, allocations: 73.69 kB / 0.7971 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.2994, allocations: 165.3 kB / 0.7972 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.831e-05/0.2995, allocations: 86.86 kB / 0.7973 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004536/0.3, allocations: 278 kB / 0.7976 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.3002, allocations: 350.8 kB / 0.7979 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008477/0.301, allocations: 421.3 kB / 0.7983 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.3021, allocations: 0.7067 MB / 0.799 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.3038, allocations: 1.199 MB / 0.8002 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.3038, allocations: 4 kB / 0.8002 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003164/0.307, allocations: 1.721 MB / 0.8018 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003437/0.3074, allocations: 477.5 kB / 0.8023 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.383e-05/0.3074, allocations: 8 kB / 0.8023 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/0.3075, allocations: 20.16 kB / 0.8023 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.061e-05/0.3075, allocations: 31.86 kB / 0.8024 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.3076, allocations: 19.92 kB / 0.8024 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/0.3097, allocations: 407 kB / 0.8028 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/0.3099, allocations: 91.92 kB / 0.8028 GB, free: 8.289 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.0003733/0.3103, allocations: 226.2 kB / 0.8031 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.624e-05/0.3104, allocations: 47.45 kB / 0.8031 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.266e-05/0.3104, allocations: 38.08 kB / 0.8031 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.3105, allocations: 8 kB / 0.8032 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.3105, allocations: 8 kB / 0.8032 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.3105, allocations: 7.984 kB / 0.8032 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004141/0.3109, allocations: 333.4 kB / 0.8035 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3109, allocations: 4 kB / 0.8035 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.311, allocations: 23.86 kB / 0.8035 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.311, allocations: 4 kB / 0.8035 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.311, allocations: 19.98 kB / 0.8035 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.311, allocations: 4 kB / 0.8035 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/0.311, allocations: 7.938 kB / 0.8035 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007671/0.3118, allocations: 0.5236 MB / 0.8041 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-05/0.3119, allocations: 112.6 kB / 0.8042 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.048e-05/0.312, allocations: 15.98 kB / 0.8042 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3121, allocations: 15.98 kB / 0.8042 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.438e-05/0.3122, allocations: 59.83 kB / 0.8043 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.3122, allocations: 31.98 kB / 0.8043 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001817/0.3124, allocations: 191.1 kB / 0.8045 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3124, allocations: 0 / 0.8045 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006109/0.313, allocations: 200 kB / 0.8047 GB, free: 6.301 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.001166/0.3142, allocations: 1.073 MB / 0.8057 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002071/0.3163, allocations: 1.757 MB / 0.8074 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3163, allocations: 4 kB / 0.8074 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.3166, allocations: 183.7 kB / 0.8076 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006838/0.3173, allocations: 139.2 kB / 0.8077 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009022/0.3263, allocations: 6.446 MB / 0.814 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.3267, allocations: 0.7761 MB / 0.8148 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001628/0.3269, allocations: 50.89 kB / 0.8148 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.3271, allocations: 107.4 kB / 0.8149 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of SimCode: time 1.002e-06/0.3271, allocations: 0 / 0.8149 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03958/0.3667, allocations: 14.8 MB / 0.8294 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.566, allocations: 3.938 kB / 0.8294 GB, free: 12.43 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --timeout=50 --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)